教务

wuheng 38b8c62a53 更新 'Jenkinsfile' 1 vuosi sitten
.vscode 91372d3b6c fix 1 vuosi sitten
build 689385a15c build 7 1 vuosi sitten
mock a2844f4e7a 清理信息 打包 1 vuosi sitten
patches 41f263bd06 init 1 vuosi sitten
public ead9977822 home 1 vuosi sitten
scripts 41f263bd06 init 1 vuosi sitten
src 340a0ea70b rename 1 vuosi sitten
.editorconfig 41f263bd06 init 1 vuosi sitten
.env 1a7be5e6ea 哈希路由 1 vuosi sitten
.env-config.ts 1a7be5e6ea 哈希路由 1 vuosi sitten
.env.development 1a7be5e6ea 哈希路由 1 vuosi sitten
.env.production 1a7be5e6ea 哈希路由 1 vuosi sitten
.eslintignore 41f263bd06 init 1 vuosi sitten
.eslintrc.js 41f263bd06 init 1 vuosi sitten
.gitattributes 41f263bd06 init 1 vuosi sitten
.gitignore e655156db1 init(projects): api code 1 vuosi sitten
.npmrc 41f263bd06 init 1 vuosi sitten
Dockerfile 6f61e5cd90 docs(components): build file 1 vuosi sitten
Jenkinsfile 38b8c62a53 更新 'Jenkinsfile' 1 vuosi sitten
README.md 54ecef281a clear 1 vuosi sitten
default.conf 003e00df17 更新 'default.conf' 1 vuosi sitten
docker-compose.yaml 6f61e5cd90 docs(components): build file 1 vuosi sitten
index.html 41f263bd06 init 1 vuosi sitten
package.json 689385a15c build 7 1 vuosi sitten
pnpm-lock.yaml 689385a15c build 7 1 vuosi sitten
tsconfig.json 2c19cd4858 格式化代码 1 vuosi sitten
uno.config.ts 41f263bd06 init 1 vuosi sitten
vite.config.ts 9fce909d1e base 版本 1 vuosi sitten

README.md

特性

  • 最新流行技术栈:使用 Vue3/Vite 等前端前沿技术开发, 使用高效率的 npm 包管理器 pnpm
  • TypeScript: 应用程序级 JavaScript 的语言
  • 主题:丰富可配置的主题、暗黑模式,基于原子 css 框架 - UnoCss 的动态主题颜色
  • 代码规范:丰富的规范插件及极高的代码规范
  • 文件路由系统:基于文件的路由系统,根据页面文件自动生成路由声明、路由导入和路由模块
  • 权限路由:提供前端静态和后端动态两种路由模式,基于 mock 的动态路由能快速实现后端动态路由
  • 请求函数:基于 axios 的完善的请求函数封装,提供 Promise 和 hooks 两种请求函数,加入请求结果数据转换的适配器

安装使用

  • 环境配置 本地环境需要安装 pnpm 7.x 、Node.js 14.18+ 和 Git

  • 安装依赖

    pnpm i
    
  • 运行

    pnpm dev
    
  • 打包

    pnpm build