按照使用sidenav创建响应式工具栏的非常简单的步骤,我有一个小问题,这个小问题让我抓狂。从ng generate @angular/material:navigation sideNav的基本原理图 I want the toolbar to seem to extend over thesidebar.那里已经有了一个工具栏,但在默认的原理图中,它的css设置为继承背景: .sidenav .mat-toolbar {
我在我的angular 5应用程序中实现了angular材质。If 'mat-toolbar' is an Angular component, then verify that it is part of this module.})我已经导入了MaterialModule并包含在app.module.ts中