Go to file
2023-12-02 23:51:22 +08:00
api test 2023-12-02 23:51:22 +08:00
public Initial commit 2023-12-02 23:23:17 +08:00
src test 2023-12-02 23:51:22 +08:00
.browserslistrc Initial commit 2023-12-02 23:23:17 +08:00
.editorconfig Initial commit 2023-12-02 23:23:17 +08:00
.eslintrc.js Initial commit 2023-12-02 23:23:17 +08:00
.gitignore Initial commit 2023-12-02 23:23:17 +08:00
index.html Initial commit 2023-12-02 23:23:17 +08:00
openapitools.json test 2023-12-02 23:51:22 +08:00
package.json test 2023-12-02 23:51:22 +08:00
README.md test 2023-12-02 23:51:22 +08:00
tsconfig.json Initial commit 2023-12-02 23:23:17 +08:00
tsconfig.node.json Initial commit 2023-12-02 23:23:17 +08:00
vite.config.ts Initial commit 2023-12-02 23:23:17 +08:00
yarn.lock test 2023-12-02 23:51:22 +08:00

essentials

Project setup

# yarn
yarn

# npm
npm install

# pnpm
pnpm install

# bun 
bun install

Compiles and hot-reloads for development

# yarn
yarn dev

# npm
npm run dev

# pnpm
pnpm dev

# bun 
bun run dev

Compiles and minifies for production

# yarn
yarn build

# npm
npm run build

# pnpm
pnpm build

# bun 
bun run build

Lints and fixes files

# yarn
yarn lint

# npm
npm run lint

# pnpm
pnpm lint

# bun 
bun run lint

Customize configuration

See Configuration Reference.

根据 OpenAPI 生成代码

./node_modules/.bin/openapi-generator-cli generate -i api/swagger.json -g typescript-axios -o src/openapi