UI Kits for PhoneGap or Mobile Web App
-
install
node.js
andnpm
form https://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 install
and$ bower install
for base modules and libs (must first).$ grunt package
for package all statics to the dist for web.$ grunt cordova.init
for create phonegap 3.0+ path.$ grunt cordova.add.plugins
for add plugins by misc/cordova/plugins.json.$ grunt package.cordova
for package all statics to the dist for phonegap app. (step.3 must be first)$ grunt prepare
for that copy base files to the dist.$ grunt
for 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 watch
for that when you modify the file in src, task will run itself to refresh the statics for showing new.
Soon ……