Skip to content

Commit

Permalink
docs(react): fix references to old --preset=react option (#16137)
Browse files Browse the repository at this point in the history
  • Loading branch information
jaysoo authored Apr 5, 2023
1 parent 74f81c2 commit a8b8ea9
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion docs/generated/packages/react/documents/overview.md
Original file line number Diff line number Diff line change
Expand Up @@ -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:

Expand Down
2 changes: 1 addition & 1 deletion docs/shared/packages/react/react-plugin.md
Original file line number Diff line number Diff line change
Expand Up @@ -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:

Expand Down
2 changes: 1 addition & 1 deletion docs/shared/recipes/set-up-a-new-workspace.md
Original file line number Diff line number Diff line change
Expand Up @@ -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
```
Expand Down

1 comment on commit a8b8ea9

@vercel
Copy link

@vercel vercel bot commented on a8b8ea9 Apr 5, 2023

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Successfully deployed to the following URLs:

nx-dev – ./

nx-dev-git-master-nrwl.vercel.app
nx.dev
nx-dev-nrwl.vercel.app
nx-five.vercel.app

Please sign in to comment.