docs(react): fix references to old --preset=react option (#16137)

This commit is contained in:
Jack Hsu 2023-04-05 15:16:05 -04:00 committed by GitHub
parent 74f81c2759
commit a8b8ea91f2
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
3 changed files with 3 additions and 3 deletions

View File

@ -8,7 +8,7 @@ It provides:
## Setting Up React
To create a new workspace with React, run `npx create-nx-workspace@latest --preset=react`.
To create a new workspace with React, run `npx create-nx-workspace@latest --preset=react-standalone`.
To add the React plugin to an existing workspace, run one of the following:

View File

@ -8,7 +8,7 @@ It provides:
## Setting Up React
To create a new workspace with React, run `npx create-nx-workspace@latest --preset=react`.
To create a new workspace with React, run `npx create-nx-workspace@latest --preset=react-standalone`.
To add the React plugin to an existing workspace, run one of the following:

View File

@ -23,7 +23,7 @@ npx create-nx-workspace --preset=ts
Some presets set up applications, e2e tests, etc.
```shell
npx create-nx-workspace --preset=react
npx create-nx-workspace --preset=react-standalone
npx create-nx-workspace --preset=react-native
npx create-nx-workspace --preset=angular
```