npm 编译 vue-element-admin
1、安装nodejs
2、设置npm阿里镜像
npm install --registry=https://registry.npm.taobao.org
3、安装node-sass
npm install sass-loader --save-dev
npm install node-sass --save-dev
4、安装git,配置git环境
https://github.com/waylau/git-for-win
使用xbuilder 编译,需要配置git插件,“工具”->“安装插件”,“工具”->“外部命令插件配置”
5、运行install
npm install --registry=https://registry.npm.taobao.org
npm run dev