2.5.4 • Published 10 months ago

react.cordova v2.5.4

Weekly downloads
71
License
MIT
Repository
github
Last release
10 months ago

npm.io

Reco (react.cordova)

Full documentation

Welcome to Reco (React+Cordova). Reco unifies React.js and Cordova into one CLI which bundles both platforms together and provides the developer with the ability to generate Cordova hybrid cross-platform applications built in React.js. This bundled platform facilitates and automates project initialization, compilation and build actions for React.js developers who wish to build web/mobile/desktop applications using the powerful and most vast Cordova environment. Reco is the bundle where both Cordova and React.js platforms merge and work together as one. Enjoy your coding and development experience using Reco!

Installing Reco CLI

sudo npm install -g react.cordova

Initialize a new bundle project

reco init com.example.hello "hello world"

Note: creates both react-app and cordova-app and then will merge one into the other

Explore Reco CLI

To get full CLI reference of all commands and features currently available, run the following command

reco help
project folder
 |
 |--src
 |--public
 |--platforms
 |--plugins
 |--www
 |--build
 |--hooks
 |--package.json
 |--package-lock.json
 |-- ... 

Serve debug mode

To run a bundle serve React and Cordova simulation

npm start

Project build

Perform a build action for your project using the following command

npm run build
npm run build <cordova platform>

Builds cordova-app for browser, mobile and other platforms.

Note: will generate an apk installable package for Android devices Note: will generate an xcworkspace XCode project that can be compiled and built for deployment on iOS devices

Integrated Cordova CLI

To run Cordova CLI simply prepend the reco prefix to any Cordova command line

For example:

cordova <any cordova command line to run>

cordova platform

cordova platform <add/rm> <cordova platform>

cordova plugin <add/rm> <cordova plugin>

Learn more about Cordova: Cordova get started.

Integrated React.js CLI

You can run React.js CLI from within the project's directory

For example:

npm start

npm test

npm install <npm packages for react>

npm uninstall <npm packages for react>

npm <any react command line to run>

Learn more about React.js apps: create React.js app documentation Learn programming in React.js: React.js documentation

project folder
 |
 |--cordova
 |    |
 |    |--hooks
 |    |--platforms
 |    |--plugins
 |    |--www
 |    |--package.json
 |    |--package-lock.json
 |    |-- ...
 |
 |--react-js
 |    |--src
 |    |--public
 |    |--build
 |    |--package.json
 |    |--package-lock.json
 |    |-- ... 

Serve debug mode

To run a bundle serve React and Cordova simulation

reco start

or

npm start

Project build

Perform a build action for your project using the following command

reco build <cordova platform>

or

npm run build <cordova platform>

*Node: <cordova platform> is not requred.

Builds cordova-app for browser, mobile and other platforms.

Note: will generate an apk installable package for Android devices Note: will generate an xcworkspace XCode project that can be compiled and built for deployment on iOS devices

Integrated Cordova CLI

To run Cordova CLI simply prepend the reco prefix to any Cordova command line

For example:

reco cordova <any cordova command line to run>

reco platform

reco platform <add/rm> <cordova platform>

reco plugin <add/rm> <cordova plugin>

Learn more about Cordova: Cordova get started.

Integrated React.js CLI

You can run React.js CLI from within the project's directory

For example:

reco start (Choose the first option)

reco test

reco install <npm packages for react>

reco uninstall <npm packages for react>

reco react <any react command line to run>

react <any react command line to run>

Learn more about React.js apps: create React.js app documentation Learn programming in React.js: React.js documentation


Prerequisites

npm

get-npm

Java

Recommended version 1.8.0 get-Java

Cordova

npm install -g cordova

If you have any problems, please let us know here, and we will make our best effort to resolve it soon

Feel free to edit the code yourself: go to bin/cli.js

If you have any private problems please ask to support here

Created by UIDB

2.5.2

10 months ago

2.5.4

10 months ago

2.5.3

10 months ago

2.5.0

11 months ago

2.5.1

11 months ago

2.4.3

2 years ago

2.4.2

2 years ago

2.4.1

2 years ago

2.4.0

2 years ago

2.4.2-beta.0

2 years ago

2.3.9

2 years ago

2.3.8

3 years ago

2.3.7

3 years ago

2.3.4-dev

3 years ago

2.3.2

3 years ago

2.3.1

3 years ago

2.3.4

3 years ago

2.3.3

3 years ago

2.3.6

3 years ago

2.3.5

3 years ago

2.3.0

3 years ago

2.2.8

3 years ago

2.2.7

3 years ago

2.2.6

4 years ago

2.2.5

4 years ago

2.2.4

4 years ago

2.2.3

4 years ago

2.2.2

4 years ago

2.2.1

4 years ago

2.2.0

4 years ago

2.1.9

4 years ago

2.1.8

4 years ago

2.1.7

4 years ago

2.1.6

4 years ago

2.1.5

4 years ago

2.1.4

4 years ago

2.1.3

4 years ago

2.1.2

4 years ago

2.1.1

4 years ago

2.1.0

4 years ago

2.0.7

4 years ago

2.0.5

4 years ago

2.0.4

4 years ago

2.0.6

4 years ago

2.0.3

4 years ago

2.0.2

4 years ago

2.0.1

4 years ago

2.0.0

4 years ago

2.0.1-dev

4 years ago

2.0.0-dev

4 years ago

1.8.4

4 years ago

1.8.3

4 years ago

1.8.2

4 years ago

1.8.1

4 years ago

1.8.0

4 years ago

1.7.8

4 years ago

1.7.7

4 years ago

1.7.6

4 years ago

1.7.5

4 years ago

1.7.4

4 years ago

1.7.3

4 years ago

1.7.2

4 years ago

1.7.1

4 years ago

1.7.0

4 years ago

1.6.8

4 years ago

1.6.7

4 years ago

1.6.6

4 years ago

1.6.5

4 years ago

1.6.4

4 years ago

1.6.3

4 years ago

1.6.2

4 years ago

1.6.1

4 years ago

1.6.0

4 years ago

1.5.9

4 years ago

1.5.8

4 years ago

1.5.7

4 years ago

1.5.6

4 years ago

1.5.5

4 years ago

1.5.1

4 years ago

1.5.0

4 years ago

1.3.6

4 years ago

1.3.5

4 years ago

1.3.4

4 years ago

1.3.3

4 years ago

1.3.2

4 years ago

1.3.1

4 years ago

1.3.0

4 years ago

1.2.9

4 years ago

1.2.8

4 years ago

1.2.7

5 years ago

1.2.6

5 years ago

1.2.5

5 years ago

1.2.4

5 years ago

1.2.3

5 years ago

1.2.2

5 years ago

1.2.1

5 years ago

1.2.0

5 years ago

1.1.9

5 years ago

1.1.8

5 years ago

1.1.7

5 years ago

1.1.6

5 years ago

1.1.5

5 years ago

1.1.4

5 years ago

1.1.3

5 years ago

1.1.2

5 years ago

1.1.1

5 years ago

1.1.0

5 years ago

1.0.9

5 years ago

1.0.8

5 years ago

1.0.7

5 years ago

1.0.6

5 years ago

1.0.5

5 years ago

1.0.4

5 years ago

1.0.3

5 years ago

1.0.2

5 years ago

1.0.1

5 years ago

1.0.0

5 years ago