Skip to content

Commit

Permalink
docs(angular): Reorganize CLI docs in tutorial to match React tutorial
Browse files Browse the repository at this point in the history
  • Loading branch information
mnquintana authored and Doginal committed Nov 25, 2020
1 parent 2235075 commit 99c31e7
Showing 1 changed file with 5 additions and 3 deletions.
8 changes: 5 additions & 3 deletions docs/angular/tutorial/01-create-application.md
Original file line number Diff line number Diff line change
Expand Up @@ -80,9 +80,7 @@ Now that the application is set up, run it locally via:
npx nx serve todos
```

## Note on `nx serve` and `ng serve`

Internally, the Nx CLI delegates to the Angular CLI when running commands or generating code. The `nx serve` command produces the same result as `ng serve`, and `nx build` produces the same results as `ng build`. However, the Nx CLI supports advanced capabilities that aren't supported by the Angular CLI. For instance, Nx's computation cache only works when using the Nx CLI. In other words, using `nx` instead `ng` will result in the same output, but often will perform a lot better. [Read more about Nx CLI and Angular CLI.](/angular/cli/nx-and-cli)
## Note on the Nx CLI

If you would prefer to run using a global installation of Nx, you can run:

Expand Down Expand Up @@ -116,6 +114,10 @@ or
yarn nx serve todos
```

## Note on `nx serve` and `ng serve`

Internally, the Nx CLI delegates to the Angular CLI when running commands or generating code. The `nx serve` command produces the same result as `ng serve`, and `nx build` produces the same results as `ng build`. However, the Nx CLI supports advanced capabilities that aren't supported by the Angular CLI. For instance, Nx's computation cache only works when using the Nx CLI. In other words, using `nx` instead `ng` will result in the same output, but often will perform a lot better. [Read more about Nx CLI and Angular CLI.](/angular/cli/nx-and-cli)

!!!!!
Open http://localhost:4200 in the browser. What do you see?
!!!!!
Expand Down

0 comments on commit 99c31e7

Please sign in to comment.