@angular/material
Version:
Angular Material
36 lines (34 loc) • 1.25 kB
JSON
// This is the root config file where the schematics are defined.
{
"$schema": "./node_modules/@angular-devkit/schematics/collection-schema.json",
"schematics": {
// Adds Angular Material to an application without changing any templates
"ng-add": {
"description": "Adds Angular Material to the application without affecting any templates",
"factory": "./shell",
"schema": "./shell/schema.json",
"aliases": ["material-shell"]
},
// Create a dashboard component
"materialDashboard": {
"description": "Create a card-based dashboard component",
"factory": "./dashboard/index",
"schema": "./dashboard/schema.json",
"aliases": [ "material-dashboard" ]
},
// Creates a table component
"materialTable": {
"description": "Create a component that displays data with a data-table",
"factory": "./table/index",
"schema": "./table/schema.json",
"aliases": [ "material-table" ]
},
// Creates toolbar and navigation components
"materialNav": {
"description": "Create a component with a responsive sidenav for navigation",
"factory": "./nav/index",
"schema": "./nav/schema.json",
"aliases": [ "material-nav" ]
}
}
}