Replace the default www folder with this and start building your Cordova app!
-
git clone https://github.com/dawsonloudon/Cordova-Starter.git (NOT into your project folder)
-
cordova create folder_name com.your.name.space 'Your Project Name' (NOT in the Cordova-Starter folder)
-
cd folder_name
-
cordova platform add ios (and / or) cordova platfrom add android
-
Next add the required plugins:
cordova plugin add org.apache.cordova.device
cordova plugin add org.apache.cordova.network-information
cordova plugin add org.apache.cordova.dialogs
cordova plugin add org.apache.cordova.splashscreen
-
delete www
-
copy www from Cordova-Starter into your project folder
-
Copy contents of www/config.xml into project's config.xml and then
rm -f www/config.xml
-
cordova build (or) cordova prepare ios (or) cordova run android
- fastclickjs v1.0.2
- jquery v2.1.1
- handlebarsjs v1.3.0
- Topcoat v0.8.0 (mobile-light)
See the Wiki for documentation and examples