docs(nx): update yarn commands in Creating First Application section (#1673)

This commit is contained in:
Ahn 2019-08-12 14:46:52 +02:00 committed by Brandon
parent 79c84aecb2
commit 9278ed9d0b

View File

@ -73,7 +73,7 @@ By default, an Nx workspace starts blank. There are no applications to build, se
**To add a web components app, run:** **To add a web components app, run:**
```bash ```bash
yarn add @nrwl/web yarn add --dev @nrwl/web
nx g @nrwl/web:app myapp # or just "nx g myapp" nx g @nrwl/web:app myapp # or just "nx g myapp"
``` ```
@ -85,7 +85,7 @@ nx g @nrwl/web:app myapp # or just "nx g myapp"
**To add an Angular app, run:** **To add an Angular app, run:**
```bash ```bash
yarn add @nrwl/angular yarn add --dev @nrwl/angular
nx g @nrwl/angular:app myapp # or just "nx g myapp" nx g @nrwl/angular:app myapp # or just "nx g myapp"
``` ```
@ -97,7 +97,7 @@ nx g @nrwl/angular:app myapp # or just "nx g myapp"
**To add a React app, run:** **To add a React app, run:**
```bash ```bash
yarn add @nrwl/react yarn add --dev @nrwl/react
nx g @nrwl/react:app myapp # or just "nx g myapp" nx g @nrwl/react:app myapp # or just "nx g myapp"
``` ```