|
há 1 ano | |
---|---|---|
build | há 1 ano | |
public | há 1 ano | |
src | há 1 ano | |
.editorconfig | há 1 ano | |
.env.development | há 1 ano | |
.env.int | há 1 ano | |
.env.production | há 1 ano | |
.eslintignore | há 1 ano | |
.eslintrc.js | há 1 ano | |
.gitignore | há 1 ano | |
README.md | há 1 ano | |
babel.config.js | há 1 ano | |
package.json | há 1 ano | |
postcss.config.js | há 1 ano | |
vue.config.js | há 1 ano |
初始模板基于: https://github.com/PanJiaChen/vue-element-admin
模板文档: https://panjiachen.github.io/vue-element-admin-site/zh/guide/
# 安装依赖
npm install
# 启动服务
npm run dev
# 构建INT、Stage、生产环境
npm run int
npm run stg
npm run pro
1、linux 系统在安装依赖的时候会出现 node-sass 无法安装的问题
解决方案:
1. 单独安装:npm install --unsafe-perm node-sass
2. 直接使用:npm install --unsafe-perm
2、加速node-sass安装