0.2.5 • Published 2 years ago

cordova-cra-live-reload v0.2.5

Weekly downloads
-
License
MIT
Repository
github
Last release
2 years ago

npm version

How to install it

1) Install package as dev dependency in your Cordova project

$ npm install cordova-cra-live-reload --save-dev

2) Run the following command to create live-reload-config.js file

$ cordova-cra-live-reload init

3) Rename config.xml file to config.template.xml

4) Inside the config.template.xml file change content element

<content src="{{CONTENT_SRC}}" />

How to use it

Start react dev server and run cordova app

$ npm run dev android

Build cordova app

$ npm run build android

Note: Since the library uses Cordova CLI, dev and build commands takes same parameters as Cordova run and build commands

0.2.1

2 years ago

0.2.0

2 years ago

0.2.3

2 years ago

0.2.2

2 years ago

0.2.5

2 years ago

0.2.4

2 years ago

0.1.2

2 years ago

0.1.1

3 years ago

0.1.0

3 years ago