angular schematics documentation code example

Example 1: angular schematics

ng generate @angular/material:navigation <component-name>

Example 2: angular schematics

ng generate @angular/material:dashboard <component-name>

Example 3: angular schematics

ng generate @angular/material:address-form <component-name>

Example 4: angulae schematics

{  "$schema": "../node_modules/@angular-devkit/schematics/collection-schema.json",  "schematics": {    "my-component": {      "description": "A blank schematic.",      "factory": "./my-component/index#myComponent"    }  }}

Tags:

Misc Example