components
components copied to clipboard
'mat-drawer-container' is not a known element not works even though i installed all necessary @Angular/material library
Is this a regression?
- [X] Yes, this behavior used to work in the previous version
The previous version in which this bug was not present was
No response
Description
Error: src/app/app.component.html:1:1 - error NG8001: 'mat-drawer-container' is not a known element:
- If 'mat-drawer-container' is an Angular component, then verify that it is part of this module.
- If 'mat-drawer-container' is a Web Component then add 'CUSTOM_ELEMENTS_SCHEMA' to the '@NgModule.schemas' of this component to suppress this message.
Reproduction
Error: src/app/app.component.html:1:1 - error NG8001: 'mat-drawer-container' is not a known element:
- If 'mat-drawer-container' is an Angular component, then verify that it is part of this module.
- If 'mat-drawer-container' is a Web Component then add 'CUSTOM_ELEMENTS_SCHEMA' to the '@NgModule.schemas' of this component to suppress this message.
Expected Behavior
Error: src/app/app.component.html:1:1 - error NG8001: 'mat-drawer-container' is not a known element:
- If 'mat-drawer-container' is an Angular component, then verify that it is part of this module.
- If 'mat-drawer-container' is a Web Component then add 'CUSTOM_ELEMENTS_SCHEMA' to the '@NgModule.schemas' of this component to suppress this message.
Actual Behavior
Error: src/app/app.component.html:1:1 - error NG8001: 'mat-drawer-container' is not a known element:
- If 'mat-drawer-container' is an Angular component, then verify that it is part of this module.
- If 'mat-drawer-container' is a Web Component then add 'CUSTOM_ELEMENTS_SCHEMA' to the '@NgModule.schemas' of this component to suppress this message.
Environment
- Angular:
- CDK/Material:
- Browser(s):
- Operating System (e.g. Windows, macOS, Ubuntu):
HI @ksabada, may you please complete the Environment part of your message?