generator-xiaoping-vue

1.7.4 • Public • Published

generator-xiaoping-vue

a generator for vue project

Installation

  1. npm install -g yo && npm install -g generator-xiaoping-vue
  2. yo xiaoping-vue
  3. cd path-to-your-project
  4. yarn install(yarn is recommended)
  5. yarn run dll(MUST DO IT BEFORE RUN DEV)
  6. 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

Readme

Keywords

Package Sidebar

Install

npm i generator-xiaoping-vue

Weekly Downloads

1

Version

1.7.4

License

MIT

Last publish

Collaborators

  • xiaoping-old