1. npm指令 vue init 模板类型 项目名称vue
如:webpack
vue init webpack-simple mydemo
2.进入刚才生产的 文件夹 mydemoweb
cd mydemonpm
3.初始化文件项目:code
cnpm install