专题系列是使用官方脚手架vue-cli来构建单页面应用,最后将补充本人项目开发中总结的注意点和要点;
# 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
# run e2e tests
npm run e2e
# run all tests
npm test