generator-xiaoping-vue
v1.7.4
Published
a generator for vue project
Downloads
13
Readme
generator-xiaoping-vue
a generator for vue project
Installation
- npm install -g yo && npm install -g generator-xiaoping-vue
- yo xiaoping-vue
- cd path-to-your-project
- yarn install(yarn is recommended)
- yarn run dll(MUST DO IT BEFORE RUN DEV)
- yarn run dev(dev server based on express, use port 2046)
Usage
- yarn run dll(if you add a dependency, please edit config/dll.list.js)
- yarn run imgmin(compress your images offline, support jpg/png/gif/svg)
- yarn run dev(for development)
- yarn run build(build for production)
Features
- multiple platform: mobile or pc
- use vue2.x + webpack2.x
- use fetch for http request, async/aswait is recommended