A sample app using gulp and the experimental Cordova API from cordova-platform-project.
- CordovaPlatformProject is experimental and will change.
- It does not yet expose full functionality of cordova.
- Somewhat older CordovaGulpTemplate is more stable.
git clone
cd cordova-api-example
npm install
npm install gulp -g # if you don't have it yet
gulp create
gulp build/run/emulate
Basic iteration: change a file under www
, run gulp
- the default task will build and run the app.
Adding or removing a plugin:
gulp clean
npm (un)install --save cordova-plugin-file
gulp create