0.0.5 • Published 11 years ago
generator-cordova v0.0.5
Generator-cordova
A generator for Yeoman.
Getting started
- Make sure you have the following installed:
- yo:
npm install -g yo
- grunt:
npm install -g grunt
- cordova-cli:
npm install -g cordova
- yo:
- Install the generator:
npm install generator-cordova
- Run:
yo cordova
Usage
Once you have ran yo cordova
yeoman should now have scaffolded a cordova framework for you.
grunt emulate
: builds and emulates all installed platforms
grunt liveemulate
: builds and emulates all installed platforms, watching for changes and rebuilding/deploying the emulator.
Options
--platform
: sets a platform to build/emulate. eg. --platform=ios
--family
: sets a family to build/emulate. eg. --family=ipad
Example
grunt liveemulate --platform=ios --family=ipad
: builds and emulates the ios
platform using the ipad
family.