CUSTOM_ELEMENTS_SCHEMA
相关
Uncaught Error: Template parse errors: ‘XXX’ is not a known element:
- If ‘XXX’ is an Angular component, then verify that it is
part of this module.- If ‘XXX’ is a Web Component then add
‘CUSTOM_ELEMENTS_SCHEMA’ to the ‘@NgModule.schemas’ of this component
to suppress this message.
在相应的 modules 引入 XXX 模块