@igniteui/angular-schematics
v21.0.1480
Published
Ignite UI for Angular Schematics for ng new and ng generate
Downloads
11,654
Readme
@igniteui/angular-schematics
An implementation of the Ignite UI CLI using Angular's schematics.
Install
npm i -g @igniteui/angular-schematicsProject 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-angularThis 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:componentThis 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
