A boilerplate ReactJS-Phonegap App (+With ReactFlux)
UI using React-TopcoatUI
http://kjda.github.io/ReactJs-Phonegap/
- Install Phonegap
$ sudo npm install phonegap -g
- clone this repo
$ git clone https://github.com/kjda/ReactJs-Phonegap.git
- Set it up
$ cd ReactJs-Phonegap/app
$ npm install
$ bower install
$ gulp create
$ gulp build-app
- Run it
$ gulp serve
- Point your Phonegap Developer App to the suggested URL
That's it!
- While developing:
$ cd ReactJs-Phonegap/app
$ webpack -w
this will rebuild the app automatically every time you edit the source code
Build configurations are located in app/build.configs.js