How to solve 'mat-card' is not a known element add 'CUSTOM_ELEMENTS_SCHEMA' in Angular Material. and also fix the following issue in bellow
Error NG8001: 'mat-card' is not a known element:
1. If 'mat-card' is an Angular component, then verify that it is part of this module.
2. If 'mat-card' is a Web Component then add 'CUSTOM_ELEMENTS_SCHEMA' to the '@NgModule.schemas' of this component to suppress this message.
Error NG8001: 'mat-card-header' is not a known element:
1. If 'mat-card-header' is an Angular component, then verify that it is part of this module.
2. If 'mat-card-header' is a Web Component then add 'CUSTOM_ELEMENTS_SCHEMA' to the '@NgModule.schemas' of this component to suppress this message.
Error NG8001: 'mat-card-title' is not a known element:
1. If 'mat-card-title' is an Angular component, then verify that it is part of this module.
2. If 'mat-card-title' is a Web Component then add 'CUSTOM_ELEMENTS_SCHEMA' to the '@NgModule.schemas' of this component to suppress this message.
Error NG8001: 'mat-card-actions' is not a known element:
1. If 'mat-card-actions' is an Angular component, then verify that it is part of this module.
2. If 'mat-card-actions' is a Web Component then add 'CUSTOM_ELEMENTS_SCHEMA' to the '@NgModule.schemas' of this component to suppress this message.
Thank You For Visiting My Channel.
***** Subscribe & Support *****
Watch video How to solve 'mat-card' is not a known element add 'CUSTOM_ELEMENTS_SCHEMA' in Angular Material online without registration, duration hours minute second in high quality. This video was added by user TechWebDocs 16 September 2023, don't forget to share it with your friends and acquaintances, it has been viewed on our site 5,948 once and liked it 33 people.