LinuxCommandLibrary

ng-add

adds npm packages with Angular schematics support to your project

TLDR

Add package to project

$ ng add [package-name]
copy
Add Angular Material
$ ng add @angular/material
copy
Add PWA support
$ ng add @angular/pwa
copy
Skip package installation
$ ng add [package] --skip-confirmation
copy

SYNOPSIS

ng add package [options]

DESCRIPTION

ng add adds npm packages with Angular schematics support to your project. Runs installation and configuration schematics automatically. Part of Angular CLI.

PARAMETERS

--skip-confirmation

Skip confirmation prompts.
--defaults
Use default options.
--registry url
npm registry to use.

SEE ALSO

ng(1), ng-generate(1)

> TERMINAL_GEAR

Curated for the Linux community

Copied to clipboard

> TERMINAL_GEAR

Curated for the Linux community