Uncaught Error: Template parse errors: 'mat-form-field' is not a known element code example
Example: 'mat-form-field' is not a known element:
@NgModule({
imports: [
MatButtonModule,
MatFormFieldModule,
MatInputModule,
MatRippleModule,
]
....