Here the scenario,
I have a mainpage with 3 routes (child of mainpage each lazy loaded).
Here the auxiliary component has one primary outlet and other auxiliary as
<router-outlet name="auxone"></router-outlet>
and this is how my mainpage.route file looks
Now my auxilary route loads perfectly and im able to route in primary outlet with any problem. But as soon as i try to load a route in the auxiliary outlet like this
& try to navigate them using
(Aux route has one child as its own, and im trying to load another route as another child for the same aux)
i get errors:
Uncaught (in promise): Error: Cannot match any routes. URL Segment: 'mainpage/aux'
As im unable to see any documentation on how to load and route aux routes lazy loading im at my wits end finding out how to make this work.
where exactly am i going wrong?