1.安装node.js
2.安装webpack
3.安装vue-cli
4.新建工程
vue init webpack +项目名称
5.进入工程文件夹,安装模块
npm install
6. 启动
npm run dev