How to make a responsive nav-bar using Angular material 2?
Here is what I used to build my responsive nav-bar using Angular2+ Material 2 and flex-layout in angular-cli app. (Please visit Install Angular Material and Angular CDK) 1) Install flex-layout npm install @angular/flex-layout -save 2) Include flex-layout in your app.module.ts import {FlexLayoutModule} from “@angular/flex-layout”; 3) Import imports: [ BrowserModule, FormsModule, HttpModule, RoutingModule, FlexLayoutModule, MyOwnCustomMaterialModule // … Read more