📌  相关文章
📜  2. 如果 'app-navbar' 是一个 Web 组件,则将 'CUSTOM_ELEMENTS_SCHEMA' 添加到该组件的 '@NgModule.schemas' 以禁止显示此消息. - 无论代码示例

📅  最后修改于: 2022-03-11 14:57:25.410000             🧑  作者: Mango

代码示例2
Error: src/app/university/university.component.html:45:5 - error NG8001: 'mat-slider' is not a known element:
1. If 'mat-slider' is an Angular component, then verify that it is part of this module.
2. If 'mat-slider' is a Web Component then add 'CUSTOM_ELEMENTS_SCHEMA' to the '@NgModule.schemas' of this component to suppress this message.