Skip to content

Commit 5551cca

Browse files
authored
docs: update getting started (#873)
* fix: updated command to init new project per warning * fix(docs): updated quickstart to match process
1 parent 30fa495 commit 5551cca

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

website/src/4.x/docs/getting-started.mdx

+1-1
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@ To create a new React Native project with Re.Pack or adapt an existing one:
3535
<Steps>
3636
### [Optional] Initialize a new project using React Native Community CLI
3737
```bash
38-
npx react-native@latest init AwesomeProject --skip-install
38+
npx @react-native-community/cli init AwesomeProject --skip-install
3939
```
4040
### Go to your React Native project root directory
4141
```bash

website/src/5.x/docs/getting-started/quick-start.mdx

+1-1
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@ To create a new React Native project with Re.Pack or adapt an existing one:
3535
<Steps>
3636
### [Optional] Initialize a new project using React Native Community CLI
3737
```bash
38-
npx react-native@latest init AwesomeProject --skip-install
38+
npx @react-native-community/cli init AwesomeProject --skip-install
3939
```
4040
### Go to your React Native project root directory
4141
```bash

0 commit comments

Comments
 (0)