Quickly start a H5 project.
available config:
- base project structure
- use
lib-flexible
for adaptable layout - bootstrap postcss plugins in webpack
mint-ui
for default UI components, provide component register- base axios config
- base vuex config
- base vue-router config, use webpack dynamic import for lazyloading routers
- provide router hook for setting document title after router changes
- register global mixins for
localStorage
,sessionStorage
and Baidu analysis - add trailing comma rules in Eslint config
- add filter register
- use
fastclick
to eliminating the 300ms delay - add some util functions
$ cd project_path
$ npm i
$ npm run dev
Then your web page will run on http://localhost:8212