在迁移到Angular 9(之前是Angular 8)之后,我在使用自己的组件时遇到了问题。我的组件选择-弹出-数据-引用有模块(声明和导出),它被导入到docName模块中。但我得到了错误。If 'choose-popup-data-reference' is an Angular component, then verify that it is part of this module.
我是Angular的新手,目前我正在做路由工作。我在组件中使用子路由时遇到了一个问题。routerLink不会在组件中呈现为链接。如果我使用路由器插座,应用程序就会崩溃。If 'router-outlet' is an Angular component, then verify that it is part of this module.
2.