Skip to content

Commit

Permalink
docs: use latest react-native cli (#837)
Browse files Browse the repository at this point in the history
## Description

Hello,

Goal of this PR is to use latest version of CLI when initializing the
project same as in React Native docs. Also without the `"` I was getting
an error in my console: `zsh: no matches found: react-native@^0.71.0`

###### Microsoft Reviewers: [Open in
CodeFlow](https://portal.fabricbot.ms/api/codeflow?pullrequest=https://github.com/microsoft/react-native-windows-samples/pull/837)
  • Loading branch information
okwasniewski committed Jun 8, 2023
1 parent 9b47585 commit 8b62b79
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion docs/rnm-getting-started.md
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ For information around how to set up:
Remember to call `react-native init` from the place you want your project directory to live. Be sure to use the same minor version between React Native and React Native macOS. We'll use `^0.71.0`

```
npx react-native init <projectName> --template react-native@^0.71.0
npx react-native@latest init <projectName> --template "react-native@^0.71.0"
```

### Navigate into this newly created directory
Expand Down

0 comments on commit 8b62b79

Please sign in to comment.