[英]Type “LocationComponent” is part of the declarations of 2 modules:Angular 6?
[英]Type Y is part of the declarations of 2 modules - Angular 2
我想在我的angular 2应用程序的两个单独的模块中包含一个共享组件“ SimpleRadialChartComponent”。 当我在每个模块的声明区域中传递此组件时,出现此错误:
类型SimpleRadialChartComponent是2个模块的声明的一部分
如何在两个不同的模块中声明共享组件?
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.