在根模块加入了angular-in-memory-web-api后使用ng-zorro的Icon都报 does not exist 错误,取消angular-in-memory-web-api模块后就正常了
@NgModule({
declarations: [
AppComponent,
],
imports: [
BrowserModule,
FormsModule,
NgZorroAntdModule,
HttpClientModule,
//angular-in-memory-web-api模块//取消后就可以正常使用图标了
InMemoryWebApiModule.forRoot(SimulatDbService),
BrowserAnimationsModule,
RoutingModule,
],
bootstrap: [AppComponent],
providers: [{ provide: NZ_I18N, useValue: zh_CN }]
})