Is there a way to display a child route in the parent route's <router-outlet>
?
For example, let's say we have two routes:
/users/12345
/users/12345/orders/12345
I need the second to be a child of the first, but I also need to completely replace the contents of /users/12345
with the contents of /users/12345/orders/12345
opposed to having /users/12345/orders/12345
in the /users/12345
sub router-outlet
.
I thought I could do this by just naming the parent level router-outlet and have both routes target it, but from the research I've been doing (and the errors it caused) I get the feeling the names were intended for secondary uses when there already exists a primary router-outlet