Setting up your first Angular (2) Project Using Angular Material (2)
Tracy Lee | ladyleet

Hi, there’s a few things I had to do to get this working. I had to:

  • Install @angular/animations (the compile fails without it)
  • Add MaterialModule as-is in the imports, without the forRoot() bit (deprecated).
  • Update the URL for the prebuilt themes to: ~@angular/material/prebuilt-themes/indigo-pink.css

Thanks for this series. It’s great that the page looks good from the get-go just by following the tutorial.