Marcelo Iepsen d66ebbff86 Update documentation to have CLI instructions before the usage (#199)
* Update documentation to have CLI instructions before the usage

* Move back the old cli instructions to the bottom

* Add usage instructions to ignore existing npx on the PATH

* Add a clear message regarding to the --ignore-existing flag usage
2021-07-21 11:39:29 +02:00
2019-09-11 18:45:43 +02:00
2018-03-28 15:58:19 +02:00
2020-03-09 17:39:33 +01:00
2019-03-05 12:36:55 +01:00
2019-03-05 12:34:22 +01:00
2021-01-05 14:15:48 +01:00
2019-07-04 11:36:07 +02:00

👾 React Native Template TypeScript

Build Status Documentation Maintenance License: MIT

Clean and minimalist React Native template for a quick start with TypeScript.

⭐ Features

  • Elegant usage directly within the React Native CLI
  • Consistent with the default React Native template
  • Minimal additional dependencies

▶️ Usage

npx react-native init MyApp --template react-native-template-typescript

Usage with older versions of React Native

e.g. react-native@0.63.x

npx react-native init MyApp --template react-native-template-typescript@6.5.*

See the below table to find out which version of the template to use.

React Native <=> Template Version

React Native Template
0.64 6.6.*
0.63 6.5.*
0.62 6.4.*
0.61 6.3.*
0.60 6.2.*

⚠️ React Native CLI

This template only works with the new CLI. Make sure you have uninstalled the legacy react-native-cli first (npm uninstall -g react-native-cli), for the below command to work. If you wish to not use npx, you can also install the new CLI globally (npm i -g @react-native-community/cli or yarn global add @react-native-community/cli).

If you tried the above and still get the react-native-template-react- native-template-typescript: Not found error, please try adding the --ignore-existing flag to the npx call to force npx to ignore any locally installed versions of the CLI.

Further information can be found here: https://github.com/react-native-community/cli#about

💻 Contributing

Contributions are very welcome. Please check out the contributing document.

🔖 License

This project is MIT licensed.

S
Description
No description provided
Readme
579 KiB
0 Stars 1 Watchers 0 Forks
Languages
Java 38.3%
Objective-C 27.8%
TypeScript 17.3%
JavaScript 7%
Ruby 5.9%
Other 3.7%