mirror of
https://github.com/angular/angular-cli.git
synced 2025-05-17 19:13:34 +08:00
430 B
430 B
Adds the npm package for a published library to your workspace, and configures
the project in the current working directory (or the default project 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:
ng add @angular/pwa
The default project is the value of defaultProject
in angular.json
.