@tomnlittle/react-typescript-cordova

1.0.0 • Public • Published

Cordova Typescript React App Boilerplate

typescript react cordova

Cordova Typescript React App

A simple Typescript React App bundled with Cordova to allow you to easily build Apps for Browsers/Android and iOS devices with web development tools that you know and love.

The package uses create-react-app and the default configurations that come with that. This should make it easy to upgrade to newer versions of react in the future.

📚 Table of Contents

📦 Installation

1. Prerequisites

2. Use Cordova's Template Installer

Install the template with the following command:

cordova create hello com.example.hello HelloWorld --template @tomnlittle/react-typescript-cordova

3. Install

Once your template has been copied across, use npm to install all the dependencies.

npm install

4. Add your target platform

Cordova Platform Documentation

Add one or more of the following platforms

Browser

cordova platform add browser

iOS

cordova platform add ios

Android

cordova platform add android

🚀 Usage

Running on your platform

Run on your platform

npm run cordova YOUR_PLATFORM

Example:

npm run cordova ios

Running with Create React App

npm start

📝 Contributing

Please contribute using Github Flow. Create a branch, add commits, and open a pull request.

Package Sidebar

Install

npm i @tomnlittle/react-typescript-cordova

Weekly Downloads

2

Version

1.0.0

License

none

Unpacked Size

34.8 kB

Total Files

24

Last publish

Collaborators

  • tomnlittle