1. npm指令 vue init 模板类型   项目名称

如:

vue  init webpack-simple  mydemo

2.进入刚才生产的 文件夹 mydemo

cd mydemo

3.初始化文件项目:

cnpm install

 

相关文章: