https://www.cnblogs.com/goldlong/p/8027997.html
npm install vue -g
npm install vue-router -g
运行npm install vue-cli -g安装vue脚手架
运行vue init webpack 项目名称 建立项目目录
project name:
project description:
author:
vue build
install vue-router?:YES
Use ESLint to lint your code?NO
set up unit tests:NO
setup e2e tests with nightwatch?NO
提示完成后运行:
cd project name 进入vue安装目录
运行命令npm install
运行命令npm run dev