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,
]
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,
]
有建议,请留言!