1. Install Cordova package
$ sudo npm install -g cordova
For more details how to use Cordova tool, please refer to Cordova documentation.
2. Select template
Select one of the templates on the download page.3. Add platform
You need to add the platform SDK to the project to run on the simulator or device.
$ cd /path/to/the/project
$ cordova platform add ios (or android)
4. Run on the simulator
The following command will run the application in the simulator.
$ cordova emulate
0 comments:
Post a Comment