Skip to content

Commit

Permalink
docs: ng add configures project in cwd
Browse files Browse the repository at this point in the history
  • Loading branch information
jbogarthyde authored and Keen Yee Liau committed Aug 21, 2019
1 parent 237119c commit 1ef26ee
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions packages/angular/cli/commands/add.md
Original file line number Diff line number Diff line change
@@ -1,8 +1,9 @@
Adds the npm package for a published library to your workspace, and configures your default
app project to use that library, in whatever way is specified by the library's schematic.
Adds the npm package for a published library to your workspace, and configures
the project in the current working directory (or the default app if you are
not in a project directory) to use that library, as specified by the library's schematic.
For example, adding `@angular/pwa` configures your project for PWA support:
```bash
ng add @angular/pwa
```

The default app project is the value of `defaultProject` in `angular.json`.
The default app project is the value of `defaultProject` in `angular.json`.

0 comments on commit 1ef26ee

Please sign in to comment.