Error in /turbo_modules/@angular/[email protected]/bundles/compiler.umd.js (29363:23)
Component ProductListComponent is not part of any NgModule or the module has not been imported into your module.
错误分析
app.module.ts里,只import了ProductListComponent,但却未申明到declarations区域内:
添加之后错误消失: