UI Kits for PhoneGap or Mobile Web App
-
install
node.jsandnpmform http://nodejs.org/ -
install grunt
$ npm install -g grunt-cli -
install bower
$ npm install -g bower(must have the git envi) -
install cordova
$ npm install -g cordova
All above use bower for install by $ bower install
https://googledrive.com/host/0Bwdui5aYcEA9WFB1TThKUWVCS28/index.html
after all envi installed, you can use CLI for task
$ npm installand$ bower installfor base modules and libs (must first).$ grunt packagefor package all statics to the dist for web.$ grunt cordova.initfor create phonegap 3.0+ path.$ grunt cordova.add.pluginsfor add plugins by misc/cordova/plugins.json.$ grunt package.cordovafor package all statics to the dist for phonegap app. (step.3 must be first)$ grunt preparefor that copy base files to the dist.$ gruntfor local host at 127.0.0.1:80 (if modify grunt/task.js to make default with the server.mode, it will host at 127.0.0.1:3000 by express.js)$ grunt watchfor that when you modify the file in src, task will run itself to refresh the statics for showing new.
Soon ……