A Cordova template using React On(senUI) a(nd) Roll(up).
- React & React DOM
- OnsenUI & React OnsenUI
- Babel
- PostCSS
- Rollup
- Eslint
- Prettier
- Livereload
- Fetch, Promise and much more ES6 polyfills.
cordova create MyApp --template=react-on-a-roll
cd MyApp
yarn
This will install dependencies and add the browser platform.
yarn start
This will compile the application source code and will start a development server. The app will be reloaded every time the source code changes. You can use Cordova plugins in the browser because it uses the browser platform under the hood.
yarn build && cordova run ios android
yarn run dist && cordova build ios android --release
MIT