vue-cli安装
1.检查node npm
node -v
npm -v
2.设置npm镜像
npm config get registry
npm config set registry https://registry.cnpmjs.org/
3.安装vue-cli
npm install --global vue-cli
npm config set strict-ssl false
npm install -g supervisor
4.检查vue
vue -v
5.配置项目
vue init webpack pack