# hiveoj-frontend **Repository Path**: Hugu1e/hiveoj-frontend ## Basic Information - **Project Name**: hiveoj-frontend - **Description**: HiveOJ前端 - **Primary Language**: Unknown - **License**: Not specified - **Default Branch**: master - **Homepage**: None - **GVP Project**: No ## Statistics - **Stars**: 0 - **Forks**: 0 - **Created**: 2025-05-02 - **Last Updated**: 2025-05-09 ## Categories & Tags **Categories**: Uncategorized **Tags**: TypeScript ## README # hiveoj-frontend ## Project setup ### 依赖 1. nvm 1.2.2 2. node 18.20.8 3. npm 10.8.2 ``` npm install ``` ### Compiles and hot-reloads for development ``` npm run serve ``` ### Compiles and minifies for production ``` npm run build ``` ### Lints and fixes files ``` npm run lint ``` ### Customize configuration See [Configuration Reference](https://cli.vuejs.org/config/). ## 根据后台生成前端代码 ### 1. 生成代码 ``` openapi --input http://localhost:8101/api/v2/api-docs --output ./generated --client axios ``` ### 2. 格式化 ``` npx prettier --write . ``` ## 运行界面 ![输入图片说明](docs/images/20250509_232640.png) ![输入图片说明](docs/images/20250509_232838.png) ![输入图片说明](docs/images/20250509_232304.png)