docs(react): fix references to old --preset=react option (#16137)
This commit is contained in:
parent
74f81c2759
commit
a8b8ea91f2
@ -8,7 +8,7 @@ It provides:
|
|||||||
|
|
||||||
## Setting Up React
|
## 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:
|
To add the React plugin to an existing workspace, run one of the following:
|
||||||
|
|
||||||
|
|||||||
@ -8,7 +8,7 @@ It provides:
|
|||||||
|
|
||||||
## Setting Up React
|
## 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:
|
To add the React plugin to an existing workspace, run one of the following:
|
||||||
|
|
||||||
|
|||||||
@ -23,7 +23,7 @@ npx create-nx-workspace --preset=ts
|
|||||||
Some presets set up applications, e2e tests, etc.
|
Some presets set up applications, e2e tests, etc.
|
||||||
|
|
||||||
```shell
|
```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=react-native
|
||||||
npx create-nx-workspace --preset=angular
|
npx create-nx-workspace --preset=angular
|
||||||
```
|
```
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user