Skip to content

Commit 3c69e34

Browse files
jbogarthydeKeen Yee Liau
authored and
Keen Yee Liau
committed
docs: ng add configures project in cwd
1 parent 9d67642 commit 3c69e34

File tree

1 file changed

+4
-3
lines changed
  • packages/angular/cli/commands

1 file changed

+4
-3
lines changed

packages/angular/cli/commands/add.md

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,9 @@
1-
Adds the npm package for a published library to your workspace, and configures your default
2-
app project to use that library, in whatever way is specified by the library's schematic.
1+
Adds the npm package for a published library to your workspace, and configures
2+
the project in the current working directory (or the default app if you are
3+
not in a project directory) to use that library, as specified by the library's schematic.
34
For example, adding `@angular/pwa` configures your project for PWA support:
45
```bash
56
ng add @angular/pwa
67
```
78

8-
The default app project is the value of `defaultProject` in `angular.json`.
9+
The default app project is the value of `defaultProject` in `angular.json`.

0 commit comments

Comments
 (0)