后台-vue + element
- 常用npm命令
- 安装
npm install --registry=https://registry.npm.taobao.org
- 发布
npm run build
- 运行
npm run dev
- node-sass下载失败解决
添加.npmrc文件在根目录
.npmrc文件内容如下
sass_binary_site=https://npm.taobao.org/mirrors/node-sass/
registry=https://registry.npm.taobao.org