'Deeply nested feature module routing

I have a feature module called Overview in which I lazy-load another feature module called TravelDetails which also contains some routing.

The bad thing: the routes of TravelDetails are not appended as child routes to the lazy-loaded route path, but instead it seems like it is layered with the Overview routes somehow.

TravelDetails routes: enter image description here

Overview routes: enter image description here

So, whenever the TravelDetails module is already laoded and I go to .../overview, which is the parent path that activates the Overview module, the TravelDetails path is activated and the TravelDetailsComponent gets loaded.



Sources

This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.

Source: Stack Overflow

Solution Source