An implementation of the Ignite UI CLI using Angular's schematics.
npm i -g @igniteui/angular-schematics
If you want to use Ignite UI for Angular controls right off the bat, you can generate a new project by using the @igniteui/angular-schematics
as a collection:
ng new --collection="@igniteui/angular-schematics"
You can add the @igniteui/angular-schematics
collection to an existing Angular project by running:
ng add igniteui-angular
This will add the igniteui-angular
library and the schematics definitions to the existing project.
Once your project is configured, you can add Ignite UI for Angular components through the component schematics by calling:
ng g @igniteui/angular-schematics:component
This will enter the Step by step mode. Alternatively , you can generate a specific component by providing its template ID and a name:
ng g @igniteui/angular-schematics:component [templateId] [componentName]
You can find all of the template definitions in the official documentation