文档&链接
文档说明:https://panjiachen.github.io/vue-element-admin-site/zh/guide/
admin集成方案:https://github.com/PanJiaChen/vue-element-admin
基础模板方案:https://github.com/PanJiaChen/vue-admin-template/tree/permission-control
我此次用的是基础方案,带路由权限控制的版本
开始安装
1.克隆git仓库
遇到第一个问题:http代理问题
解决方法:取消http代理
git config --global --unset http.proxy
2.安装依赖 npm install
依赖非常多,安装非常慢,一定要耐心等
这次很幸运,顺利安装完成:
不幸的各种情况整理
1.python报错
Error: Can’t find Python executable “python”, you can set the PYTHON env variable
解决方法:
npm install --global --production windows-build-tools
npm install -g node-gyp
检查下系统环境变量里是否有python,没有的话,配置下环境变量