Go to file
2024-05-30 11:05:16 +08:00
public Initial commit 2023-12-02 23:23:17 +08:00
src 测试 2024-05-30 11:05:16 +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
.gitlab-ci.yml 改进 2023-12-12 16:59:10 +08:00
index.html 部署到 cf 2023-12-10 23:48:54 +08:00
openapitools.json test 2023-12-02 23:51:22 +08:00
package-lock.json grpc web 2024-05-23 15:36:32 +08:00
package.json 改进 2024-05-25 23:12:01 +08:00
README.md TODO: 增加 资料库创建 2023-12-12 19:44:46 +08:00
tsconfig.json 改进 2024-05-25 23:12:01 +08:00
tsconfig.node.json Initial commit 2023-12-02 23:23:17 +08:00
tsconfig.tsbuildinfo 6 2023-12-12 22:02:40 +08:00
vite.config.ts grpc web 2024-05-23 15:36:26 +08:00
yarn.lock 改进 2024-05-25 23:12:01 +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 生成代码

npm install -g @openapitools/openapi-generator-cli

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