waimai-mobile-tool
v0.1.5
Published
A simple CLI for scaffolding Vue.js and Offline projects.
Readme
waimaiMobile-cli
A simple CLI for scaffolding Vue.js and Offline projects.
Installation
Prerequisites: Node.js (>=6.x preferred), npm version 3+.
$ npm i -g waimai-mobile-toolUsage
$ wmh5 init [project-name]If you have not configure [project-name],which default is offlineProject.
Example:
$ wmh5 initThe above command generates the project at ./offlineProject/.
$ wmh5 init myProject
$ cd myProject
$ npm i
$ npm run devThe above commands generate the project at ./myProject/.If port 8432 is already in use on your machine you must change the port number in /config/index.js. Otherwise npm run dev will fail.
More usage you can check package.json
