对于改善 YTUOJ 架构的一种尝试,前端基于Vue3 + Arco Design 的在线代码题目评测系统。系统可以根据管理预设题目中输入输出用例对用户提交的代码在自主实现的代码沙箱执行和评测;通过给路由 meta 属性添加 hidden 字段完成全局导航生成、全局权限管理。通过 openapi-typescript-codegen 工具根据后端 Swagger 接口文档自动生成请求后端代码。使用 ByteMD 和 Monaco Editor 组件
Find a file
cnbigmx bf870ca898 test
2023-11-09 15:36:03 +08:00
generated 前端界面基本完善 2023-09-08 20:02:50 +08:00
public init 2023-08-05 14:26:29 +08:00
src 前端界面基本完善 2023-09-08 20:02:50 +08:00
.browserslistrc init 2023-08-05 14:26:29 +08:00
.eslintrc.js init 2023-08-05 14:26:29 +08:00
.gitignore init 2023-08-05 14:26:29 +08:00
babel.config.js init 2023-08-05 14:26:29 +08:00
package-lock.json 完善前端做题功能 2023-08-15 20:15:00 +08:00
package.json 完善前端做题功能 2023-08-15 20:15:00 +08:00
README.md test 2023-11-09 15:36:03 +08:00
tsconfig.json init 2023-08-05 14:26:29 +08:00
vue.config.js 开发完成题目创建 / 更新页面、题目管理页面、引入文本编辑器、代码编辑器 2023-08-10 17:53:04 +08:00

vue-yoj

Project setup

npm install

快速生成接口

npx openapi-typescript-codegen --input http://localhost:8121//api/v2/api-docs --output ./generated --client axios

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