You are on page 1of 1

Install angular/material, angular/cdk and angular/animations

The Angular Material ng add schematic helps you set up an Angular CLI project that uses Material.
Running ng add will:

 Ensure project dependencies are placed in package.json


 Enable the BrowserAnimationsModule your app module
 Add either a prebuilt theme or a custom theme
 Add Roboto fonts to your index.html
 Add the Material Icon font to your index.html
 Add global styles to
 Remove margins from body
 Set height: 100% on html and body
 Make Roboto the default font of your app

Schematics

ng generate @angular/material:navigation

ng generate @angular/material:dashboard

ng generate @angular/material:table components/table

Routing

{path:'dashboard', component: DashboardComponent}

CSS

.table-content {
  margin: 50px 60px;
}

You might also like