# oj-frontend **Repository Path**: dwbf/oj-frontend ## Basic Information - **Project Name**: oj-frontend - **Description**: dwbf/oj-frontend - **Primary Language**: Unknown - **License**: MulanPSL-2.0 - **Default Branch**: master - **Homepage**: None - **GVP Project**: No ## Statistics - **Stars**: 1 - **Forks**: 0 - **Created**: 2023-08-26 - **Last Updated**: 2023-09-18 ## Categories & Tags **Categories**: Uncategorized **Tags**: None ## README # oj-frontend ## Project setup ``` yarn install ``` ### Compiles and hot-reloads for development ``` yarn serve ``` ### Compiles and minifies for production ``` yarn build ``` ### Lints and fixes files ``` yarn lint ``` ### Customize configuration See [Configuration Reference](https://cli.vuejs.org/config/). ## 根据后台生成代码 ```shell openapi --input http://localhost:8121/api/v2/api-docs --output ./generated --client axios ``` 注意:生成完代码后,需要修改下 OpenAPI.ts 文件中的 OpenAPI 属性 中的 WITH_CREDENTIALS: true,否则不会携带 cookie ## 后端启动 Nacos 命令 ```shell startup.cmd -m standalone ```