https://github.com/kjda/ReactJs-Phonegap
A boilerplate ReactJS-Phonegap/Cordova App + Flux data flow
https://github.com/kjda/ReactJs-Phonegap
javascript phonegap react reactjs-phonegap
Last synced: 9 months ago
JSON representation
A boilerplate ReactJS-Phonegap/Cordova App + Flux data flow
- Host: GitHub
- URL: https://github.com/kjda/ReactJs-Phonegap
- Owner: kjda
- License: mit
- Created: 2014-07-16T21:05:09.000Z (over 11 years ago)
- Default Branch: master
- Last Pushed: 2016-03-11T15:14:37.000Z (about 10 years ago)
- Last Synced: 2024-08-05T20:32:42.051Z (over 1 year ago)
- Topics: javascript, phonegap, react, reactjs-phonegap
- Language: JavaScript
- Homepage:
- Size: 3.79 MB
- Stars: 261
- Watchers: 20
- Forks: 43
- Open Issues: 3
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
ReactJs-Phonegap
================
A boilerplate ReactJS-Phonegap App (+With [ReactFlux][1])
UI using [React-TopcoatUI][2]
Demo
====
http://kjda.github.io/ReactJs-Phonegap/
How to use?
===========
* 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][3] 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
[1]: //github.com/kjda/ReactFlux
[2]: //github.com/kjda/react-topui
[3]: //github.com/phonegap/phonegap-app-developer