'mat-icon' is not a known element:even module is imported code example
Example: 'mat-icon' is not a known element:
//In the app.module.ts
...
imports: [
...
MatIconModule,
],
//In the app.module.ts
...
imports: [
...
MatIconModule,
],