Skip to content

Commit 97560ed

Browse files
julioxavierrMateusAndrade
authored andcommitted
Fix Usage on README (#89)
Apparently currently the option `--template` already adds the `react-native-template` to the path, and if we use what's on README we will have this path that doesn't exist: https://registry.yarnpkg.com/react-native-template-react-native-template-typescript Changing to just `--template typescript` fixes it.
1 parent d7f37a9 commit 97560ed

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -28,13 +28,13 @@
2828
> `[email protected]` or higher
2929
3030
```sh
31-
npx react-native init MyApp --template react-native-template-typescript
31+
npx react-native init MyApp --template typescript
3232
```
3333

3434
3535
3636
```sh
37-
npx react-native init MyApp --template react-native-template-[email protected]
37+
npx react-native init MyApp --template [email protected]
3838
```
3939

4040
### Note on the legacy CLI

0 commit comments

Comments
 (0)