demo: https://github.com/xiaomuzizier/vue-admin.git
This is a project template for vue-cli
# install dependencies
npm install
# serve with hot reload at localhost:8081
npm run dev
# build for production with minification
npm run build
- build - webpack config files
- config - webpack config files
- dist - build
- src -your app
- api
- assets
- common
- components - your vue components
- mock
- styles
- views - your pages
- vuex
- App.vue
- main.js - main file
- routes.js
- static - static assets