This work is mostly inspired by this project.
This template mixes Cordova with React And Redux in order to develop some efficient apps with almost zero configuration, you can use ES6 syntax to write your components based on this template.
the following software need to be installed :
- Npm
- Cordova
- SDK of your target Device(s) (iOS / Android)
git clone https://github.com/Meshredded/cordova-template-react-hot-loader-with-redux
cd cordova-template-react-hot-loader-with-redux
npm install
npm start
Then go to : http://localhost:8080.
cordova platform add android
cordova run android
cordova platform add ios
cordova run ios
In this mode, the app will live-reload changes to React components using react-hot-loader and CSS changes using the Webpack CSS loader.
To build the app without the development hot module reloading server:
npm run build
This will switch your config.xml
file to production mode, build the app bundle to /www
using Webpack, and run cordova build
for you.
For any suggestion you can open an issue here.
MIT