一个h5项目的模板 本项目很多地方参考了@PanJiaChen大神的vue-element-admin,所以如果你用过vue-element-admin的话,就会发现本项目非常简单。 px会自动转化为rem,所以不许考虑过多
# 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 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.