angular6跳转报错:
Component Home is not part of any NgModule or the module has not been imported into your module.
解决方法:
要在模块home.module.ts中声明组件Hom.component.ts(类名为Home)
declarations: [
Home
]
angular6跳转报错:
Component Home is not part of any NgModule or the module has not been imported into your module.
解决方法:
要在模块home.module.ts中声明组件Hom.component.ts(类名为Home)
declarations: [
Home
]