xiaofan's blog 小凡的博客
# install dependencies 安装依赖
npm install
# serve with hot reload at localhost:8080 在本地启动服务,端口号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
# run unit tests 运行unit测试
npm run unit
# run e2e tests 运行e2e测试
npm run e2e
# run all tests 运行所有测试
npm test
For a detailed explanation on how things work, check out the guide and docs for vue-loader.