Using with Angular CLI
The Angular CLI is a command-line tool for scaffolding and building Angular applications.
For more information on the recommended workflow for using Kendo UI for Angular with Angular CLI, refer to the article on getting started.
As of the Angular 6 release, Angular CLI supports adding packages through the ng-add command. To install any package from Kendo UI for Angular, use
ng-add and add the name of the NPM package.
ng add @progress/kendo-angular-inputs
ng add @progress/kendo-angular-inputs command executes the following actions:
- Adds the
@progress/kendo-angular-inputspackage as a dependency.
- Imports the
InputsModulein the current application module.
- Registers the default Kendo UI theme in the
- Adds all required peer dependencies to
npm installto install the theme and all peer packages that are added.