File tree Expand file tree Collapse file tree 2 files changed +3
-3
lines changed
documentation/src/components Expand file tree Collapse file tree 2 files changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -31,7 +31,7 @@ Follow instructions for your given `development OS` and `target OS`.
31
31
To create a new project using the boilerplate simply run :
32
32
33
33
```
34
- npx react-native init MyApp --template @thecodingmachine/react-native-boilerplate
34
+ npx react-native@latest init MyApp --template @thecodingmachine/react-native-boilerplate
35
35
```
36
36
37
37
Assuming you have all the requirements installed, you can run the project by running:
Original file line number Diff line number Diff line change @@ -21,7 +21,7 @@ export default function Quickstart() {
21
21
< code className = "flex items-center border-0 min-h-[65px] w-[110%] p-2 bg-neutral-100 dark:bg-neutral-900 rounded-md" >
22
22
< span className = "text-black dark:text-white" >
23
23
< span className = "text-red-400" > npx </ span >
24
- < span className = "text-blue-400" > react-native init </ span >
24
+ < span className = "text-blue-400" > react-native@latest init </ span >
25
25
MyApp
26
26
< span className = "text-neutral-500 text-sm" > --template @thecodingmachine/react-native-boilerplate</ span >
27
27
</ span >
@@ -31,7 +31,7 @@ export default function Quickstart() {
31
31
type = "button"
32
32
className = "transition-all ease-in mt-5 hover:bg-green-700 hover:text-white hover:text text-md text-white
33
33
font-bold py-3 px-4 rounded bg-green-500 shadow-lg shadow-green-500/50"
34
- onClick = { ( ) => { navigator . clipboard . writeText ( 'npx react-native init MyApp --template @thecodingmachine/react-native-boilerplate' ) ; } }
34
+ onClick = { ( ) => { navigator . clipboard . writeText ( 'npx react-native@latest init MyApp --template @thecodingmachine/react-native-boilerplate' ) ; } }
35
35
>
36
36
Copy and test it
37
37
< span className = "ml-3" > 🧪</ span >
You can’t perform that action at this time.
0 commit comments