waimai-mobile-tool

0.1.5 • Public • Published

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-tool

Usage

$ wmh5 init [project-name]

If you have not configure [project-name],which default is offlineProject.

Example:

$ wmh5 init

The above command generates the project at ./offlineProject/.

$ wmh5 init myProject
$ cd myProject
$ npm i
$ npm run dev

The 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

License

MIT

Readme

Keywords

Package Sidebar

Install

npm i waimai-mobile-tool

Weekly Downloads

1

Version

0.1.5

License

ISC

Last publish

Collaborators

  • fanxmistic