一个初始化vue项目,已集成并配置好常用组件vuex(已配置logger插件),router,mockjs(开发环境开启),axios(已封装为异步请求),支持分环境(测试和生产)打包, 可在此基础直接进行二次开发
# install dependencies
npm install
# serve with hot reload at localhost:8080
npm run dev
# build for production with minification
npm run build-prod
# build for test with minification
npm run build-test
# build for production and view the bundle analyzer report
npm run build --report
# run unit tests
npm run unit
# run e2e tests
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.