ng add
Add and configure packages for the current workspace project. More information: https://angular.dev/cli/add.
- Add a package to the current project:
ng add
- Add multiple packages:
ng add
- Add a specific version of a package:
ng add @
- Skip the confirmation prompt:
ng add --skip-confirmation
- Disable interactive prompts:
ng add --interactive false
- Display verbose output about internal operations:
ng add --verbose
- Simulate an addition without making any changes:
ng add
来源:tldr-pages contributors · 作者与贡献记录 · CC BY 4.0。离线整理了版式、链接和媒体显示。
