@igniteui/angular-schematics
v19.0.1436
Published
Ignite UI for Angular Schematics for ng new and ng generate
Downloads
12,257
Readme
@igniteui/angular-schematics
An implementation of the Ignite UI CLI using Angular's schematics.
Install
npm i -g @igniteui/angular-schematics
Project setup
New project
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"
Add to existing project
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.
Add Component Views
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