# by_vue_element_manager-master **Repository Path**: xuyu12/by_vue_element_manager-master ## Basic Information - **Project Name**: by_vue_element_manager-master - **Description**: 项目后台 - **Primary Language**: Unknown - **License**: MIT - **Default Branch**: master - **Homepage**: None - **GVP Project**: No ## Statistics - **Stars**: 0 - **Forks**: 0 - **Created**: 2022-05-16 - **Last Updated**: 2022-05-16 ## Categories & Tags **Categories**: Uncategorized **Tags**: 项目后台 ## README # 后台管理 ## 源码地址 https://github.com/PanJiaChen/vue-element-admin ## 开发 ```bash #默认使用国外镜像源 npm config set registry https://registry.npmjs.org #切换国内镜像 npm config set registry https://registry.npmmirror.com #查看是否更换 npm config get registry #正常安装npm install 可能会报错 这里有2个解决办法 #一 替换 git config --global url."https://".insteadOf git:// #二 翻墙 (有部分访问github)致使某些模块无法安装 # 安装依赖 npm install # 启动服务 npm run dev ``` 浏览器访问 http://localhost:9527 ## 发布 ```bash # 构建测试环境 npm run build:stage # 构建生产环境 npm run build:prod ``` ## 其它 ```bash # 预览发布环境效果 npm run preview # 预览发布环境效果 + 静态资源分析 npm run preview -- --report # 代码格式检查 npm run lint # 代码格式检查并自动修复 npm run lint -- --fix ```