I have just started learning Angular and came across this tutorial on how to use Angular materials side nav bar. However, when I followed the steps in the tutorial, the website displayed did not use CSS.
These were the steps I followed:
Create my Angular application.
Execute ng generate @angular/material:navigation
Import necessary modules in the modules.ts file.
Put
<app-nav></app-nav>
into the app.component.html file.
And this was the output.
Edit- I even tried copying the contents of main-nav.component.css to the global styles.css as suggested in this Stack Overflow answer, but to no avail.