1、新建一个项目cd进去
2、npm init
3、npm install babel-loader babel-core babel-plugin-transform-runtime babel-preset-es2015 babel-preset-stage-0 babel-runtime vue-loader vue-html-loader vue-hot-reload-api css-loader style-loader webpack webpack-dev-server --save-dev
4、npm install vue@^1.0.26 --save
5、npm install
网友评论