https://github.com/airamrguez/react-on-a-roll
Cordova template using React, OnsenUI, Rollup, Babel, Prettier, Eslint, Postcss and polyfills.
https://github.com/airamrguez/react-on-a-roll
babel cordova eslint livereload onsenui polyfills prettier react rollup template
Last synced: 5 months ago
JSON representation
Cordova template using React, OnsenUI, Rollup, Babel, Prettier, Eslint, Postcss and polyfills.
- Host: GitHub
- URL: https://github.com/airamrguez/react-on-a-roll
- Owner: airamrguez
- License: mit
- Created: 2017-04-09T17:57:26.000Z (about 9 years ago)
- Default Branch: master
- Last Pushed: 2017-10-14T17:36:25.000Z (over 8 years ago)
- Last Synced: 2025-10-02T20:21:10.093Z (8 months ago)
- Topics: babel, cordova, eslint, livereload, onsenui, polyfills, prettier, react, rollup, template
- Language: JavaScript
- Size: 11.2 MB
- Stars: 2
- Watchers: 1
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- Changelog: CHANGELOG.md
- License: LICENSE
Awesome Lists containing this project
README
# React On a Roll
A Cordova template using React On(senUI) a(nd) Roll(up).
[](https://badge.fury.io/js/react-on-a-roll)
# Getting Started
## What is included?
- [React & React DOM](https://facebook.github.io/react/)
- [OnsenUI & React OnsenUI](https://onsen.io/)
- [Babel](https://babeljs.io/)
- [PostCSS](http://postcss.org/)
- [Rollup](https://rollupjs.org/)
- [Eslint](http://eslint.org/)
- [Prettier](https://github.com/prettier/prettier)
- [Livereload](http://livereload.com/)
- [Fetch](https://github.com/whatwg/fetch), [Promise and much more ES6 polyfills](https://babeljs.io/docs/usage/polyfill/).
## Installation
```
cordova create MyApp --template=react-on-a-roll
cd MyApp
yarn
```
This will install dependencies and add the browser platform.
# Work using 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.
# Run in a simulator or a device
```
yarn build && cordova run ios android
```
# Build for production
```
yarn run dist && cordova build ios android --release
```
# License
MIT