# vue-admin-template ## 功能点 - 集成了友盟的上报js - 请求axios集成了上报功能 ## 构建 # 适用node版本14 ```bash # 克隆项目 git clone http://code.linkkids.cn/fe_web_public/vue-admin-template.git # 进入项目目录 cd vue-admin-template # 安装依赖 npm install npm install --registry=http://npmneibu.linkkids.cn # 启动服务 npm run dev ``` 浏览器访问 [http://localhost:9528](http://localhost:9528) ## 发布 ```bash # 构建测试环境 npm run build:stage # 构建生产环境 npm run build:prod ``` ## 其它 ```bash # 预览发布环境效果 npm run preview # 预览发布环境效果 + 静态资源分析 npm run preview -- --report # 代码格式检查 npm run lint # 代码格式检查并自动修复 npm run lint -- --fix ```