docs(nx): add --ignore-existing to all npx commands
This commit is contained in:
parent
3d0e7867e0
commit
fc9af4d0b9
@ -13,7 +13,7 @@ npm install -g @angular/cli
|
||||
**Using `npx`**
|
||||
|
||||
```bash
|
||||
npx create-nx-workspace myworkspace
|
||||
npx --ignore-existing create-nx-workspace myworkspace
|
||||
```
|
||||
|
||||
**Using `npm init`**
|
||||
|
||||
@ -11,7 +11,7 @@ To show how Nx does it, let's build two applications (one in Angular, and one in
|
||||
Let's start by creating a new Nx workspace. The easiest way to do this is to use npx.
|
||||
|
||||
```bash
|
||||
npx create-nx-workspace happynrwl --preset=empty
|
||||
npx --ignore-existing create-nx-workspace happynrwl --preset=empty
|
||||
```
|
||||
|
||||
## Creating an Angular Application
|
||||
|
||||
@ -16,13 +16,13 @@ Nx has first class support for React: you can create React applications and libr
|
||||
Create a new Nx workspace. The easiest way to do it is to use npx.
|
||||
|
||||
```bash
|
||||
npx create-nx-workspace happynrwl --preset=empty
|
||||
npx --ignore-existing create-nx-workspace happynrwl --preset=empty
|
||||
```
|
||||
|
||||
You can also create a workspace with a React application in place by running:
|
||||
|
||||
```bash
|
||||
npx create-nx-workspace happynrwl --preset=react
|
||||
npx --ignore-existing create-nx-workspace happynrwl --preset=react
|
||||
```
|
||||
|
||||
## Generating a React Application
|
||||
|
||||
@ -7,7 +7,7 @@ In this tutorial you will use Nx to build a full-stack application out of common
|
||||
**Start by creating a new workspace.**
|
||||
|
||||
```bash
|
||||
npx create-nx-workspace myorg
|
||||
npx --ignore-existing create-nx-workspace myorg
|
||||
```
|
||||
|
||||
When asked about 'preset', select `empty`.
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user