DEV Community

Discussion on: Lazy-load a component in Angular without routing

Collapse
 
pxpp profile image
pxPP

Does anyone have any idea how I can enable routing in the loaded component ?

I have in the loaded module a router module for child and in the component a router outlet, but the routes are not loaded.

If I load the same component via the angular router lazy so the routing works.