Add RN 0.60 usage to readme

This commit is contained in:
Radek Czemerys authored and GitHub committed 2019-09-26 10:58:47 +02:00
1 parent 8269288eff
commit 93f8d1fdd1
1 file changed
+7 -1
+7 -1
View File
@@ -25,12 +25,18 @@
## :arrow_forward: Usage
> `react-native@0.60` or higher
> `react-native@0.61.0` or higher
```sh
npx react-native init MyApp --template react-native-template-typescript
```
> `react-native@0.60.x`
```sh
npx react-native@0.60.6 init MyApp --template react-native-template-typescript@6.2.0
```
### Note on the legacy CLI
There seems to be quite some confusion about the legacy 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 above 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`).