Hi
I am getting below error -
[ERROR] NG8001: 'router-outlet' is not a known element:
1. If 'router-outlet' is an Angular component, then verify that it is included in the '@Component.imports' of this component.
2. If 'router-outlet' is a Web Component then add 'CUSTOM_ELEMENTS_SCHEMA' to the '@Component.schemas' of this component to suppress this message. [plugin angular-compiler]
src/app/Pages/layout/layout.component.html:16:4:
16 ¦
Thanks
Ramco RamcoPosted May 17, 2024, 4:39 AM
Hi Jobin
I am using Angular 17
Thanks
Jobin SPosted May 16, 2024, 4:57 PM
hi Ramco,
Check your RoutingModule.ts file?
@NgModule({ imports: [RouterModule.forRoot(routes)], exports: [RouterModule] })
In Angular Which version you Using ?