1.webpack
1.新建建项目
vue init webpack 项目名
2.相关选项
3.运行项目命令
npm run dev
2.vue-cli
1.构建项目
vue create 项目名
选择vue2
npm run serve