kjda / ReactJs-Phonegap

A boilerplate ReactJS-Phonegap/Cordova App + Flux data flow

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

ReactJs-Phonegap

A boilerplate ReactJS-Phonegap App (+With ReactFlux)

UI using React-TopcoatUI

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

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

About

A boilerplate ReactJS-Phonegap/Cordova App + Flux data flow

License:MIT License


Languages

Language:JavaScript 94.9%Language:CSS 4.0%Language:HTML 1.1%