How do you add third-party libraries using Angular CLI?
- Use npm or yarn to install the package:
npm install lodash
- If the library requires it, add typings:
npm install --save-dev @types/lodash
- Some libraries have Angular-specific schematics that you can add via:
ng add @angular/material
This command installs and configures Angular Material automatically.