Montag, 7. Oktober 2019

How to create Nav with Angular + Angular Material

To setup a basic navigation in Angular Material, type the following command in your terminal (e.g. I am using WebStorm IDE):

$ ng generate @angular/material:material.nav -name=main-nav

This will create a component named main-nav with all basic elements, fully responsive and free to modify.


Dear Reader, This Blog is closed and remains as an archive. Please find our new Blog at