File tree Expand file tree Collapse file tree 2 files changed +7
-14
lines changed
reason-react-native-template Expand file tree Collapse file tree 2 files changed +7
-14
lines changed Original file line number Diff line number Diff 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
1414cd 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
2522npm -g uninstall react-native
2623npm -g uninstall react-native-cli
2724yarn global remove react-native
2825yarn global remove react-native-cli
29- yarn global add @react-native-community/cli
3026```
3127
3228Now that you are ready to go, you can check our documentation on
Original file line number Diff line number Diff line change @@ -33,22 +33,19 @@ When you have correctly
3333installed, 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
4745npm -g uninstall react-native
4846npm -g uninstall react-native-cli
4947yarn global remove react-native
5048yarn global remove react-native-cli
51- yarn global add @react-native-community/cli
5249```
5350
5451💖 Your project is setup, you can just check
You can’t perform that action at this time.
0 commit comments