angular2跳转报错:
Component LaCom is not part of any NgModule or the module has not been imported into your module.
解决方法:
要在模块lacom.module.ts中声明组件lacom.component.ts(类名为LaCom)
declarations: [
LaCom,
UserQuery,
]
本文地址:http://www.yayihouse.com/yayishuwu/chapter/1230