0
点赞
收藏
分享

微信扫一扫

Angular4_ ERROR in Type XX is part of the declarations of 2 modules;

westfallon 2023-03-05 阅读 28


某个组件在两个模块里面被声明引用了,但是这两个模块之间存在着父子关系,我们只能移除掉在子模块中的引用,保留更高一级的父模块中的引用。

错误详情:

Using multiple components in different modules causing "Type X is part of the declarations of 2 modules" error



GitHub:​​点击打开链接​​

官网:​​点击打开链接​​


举报

相关推荐

0 条评论