If 'mi-accordion' is a Web Component then add "CUSTOM_ELEMENTS_SCHEMA" to the '@NgModule.schema' of this component mat-form-field' is not a known element 2. It's confusing. If 'mi-accordion' is an Angular component, then verify that it is part of this module. error ng8001 'router-outlet' is not a known element angular 9 … You saw a component for the first time in the QuickStart guide. 20 comments Closed 'component' is not a known element #14. fknop opened this … Then, use that module in your other module that MUST NOT use CUSTOM_ELEMENTS_SCHEMA.Read on, if you're interested, why. 2. But I get ERROR. It is only shown in the readme as an example of how to use a custom component. Here is why you will not find components inside Angular If 'mat-form-field' is