Hi,
somebody please help.
I am using latest angular version (5.x) with latest angular material, hammer js and animation module. (project made with latest cli version)
i imported matcard module in app.module.ts like: import {MatCardModule} from '@angular/material/card';
i injected MatCardModule in the imports section of ngmodule.
when i write some html with mat-card or mat-card-actions in the index.html file it is rendering fine. But, when i use the same code in header.component i am getting the following error:
"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.
I have imported 'CUSTOM_ELEMENTS_SCHEMA' in the app.module.ts, still its doesnt work
I dont understand whats wrong, can somebody please guide me.
Thanks
Prudhvi