Go to file
2023-12-12 22:02:40 +08:00
api 新增 文档处理精度 2023-12-12 21:57:18 +08:00
public Initial commit 2023-12-02 23:23:17 +08:00
src 6 2023-12-12 22:02:40 +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.json add turndown 2023-12-12 20:02:53 +08:00
README.md TODO: 增加 资料库创建 2023-12-12 19:44:46 +08:00
tsconfig.json allowJS 2023-12-06 19:37:16 +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 改进 2023-12-12 18:51:52 +08:00
yarn.lock add turndown 2023-12-12 20:02:53 +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