vue-cli创建项目
npm install --global vue-cli
vue init webpack testvue
npm install
npm run dev
启动构建常用
在项目的.md文件中,可以找到这段生成的文档:
# install dependencies
npm install
# serve with hot reload at localhost:8080
npm run dev
# build for production with minification
npm run build
# build for production and view the bundle analyzer report
npm run build --report