react-on-a-roll
v1.0.0-alpha.7
Published
Cordova template using React, OnsenUI, Rollup, Babel, Prettier, Eslint, Postcss and polyfills.
Downloads
12
Maintainers
Readme
React On a Roll
A Cordova template using React On(senUI) a(nd) Roll(up).
Getting Started
What is included?
- React & React DOM
- OnsenUI & React OnsenUI
- Babel
- PostCSS
- Rollup
- Eslint
- Prettier
- Livereload
- Fetch, Promise and much more ES6 polyfills.
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