Skip to content

Commit c824274

Browse files
committed
1 parent af0e3e9 commit c824274

File tree

2 files changed

+7
-14
lines changed

2 files changed

+7
-14
lines changed

reason-react-native-template/README.md

Lines changed: 3 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -10,23 +10,19 @@ experience.
1010
## Start a Reason React Native project with this template
1111

1212
```console
13-
react-native init MyApp --template reason-react-native-template
13+
npx react-native init MyApp --template reason-react-native-template
1414
cd MyApp
1515
```
1616

17-
### ⚠️ Requires `react-native-community/cli@2.3.0` +
18-
19-
In case you got an error saying it's looking for
17+
⚠️ In case you got an error saying it's looking for
2018
`react-native-template-reason-react-native-template`, be sure to have
21-
uninstalled any previous react-native-cli version & install latest community
22-
version
19+
uninstalled any previous react-native-cli version & rely on `npx`
2320

2421
```console
2522
npm -g uninstall react-native
2623
npm -g uninstall react-native-cli
2724
yarn global remove react-native
2825
yarn global remove react-native-cli
29-
yarn global add @react-native-community/cli
3026
```
3127

3228
Now that you are ready to go, you can check our documentation on

website/docs/install.md

Lines changed: 4 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -33,22 +33,19 @@ When you have correctly
3333
installed, you can run the following command:
3434

3535
```console
36-
react-native init MyApp --template reason-react-native-template
36+
npx react-native init MyApp --template reason-react-native-template
37+
cd MyApp
3738
```
3839

39-
### ⚠️ Requires `react-native-community/cli@2.3.0` +
40-
41-
In case you got an error saying it's looking for
40+
⚠️ In case you got an error saying it's looking for
4241
`react-native-template-reason-react-native-template`, be sure to have
43-
uninstalled any previous react-native-cli version & install latest community
44-
version
42+
uninstalled any previous react-native-cli version & rely on `npx`
4543

4644
```console
4745
npm -g uninstall react-native
4846
npm -g uninstall react-native-cli
4947
yarn global remove react-native
5048
yarn global remove react-native-cli
51-
yarn global add @react-native-community/cli
5249
```
5350

5451
💖 Your project is setup, you can just check

0 commit comments

Comments
 (0)