-
Notifications
You must be signed in to change notification settings - Fork 12k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
docs: ng add configures project in cwd
- Loading branch information
1 parent
237119c
commit 1ef26ee
Showing
1 changed file
with
4 additions
and
3 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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`. |