Wepack的安装
npm install --save-dev webpack
VUE安装
npm install vue vue-cli -g
创建一个基于webpack的项目
vue init webpack my-project
前两部全局安装过,之后再新建项目直接执行第三步既可以了