0

I would like to ask if it's possible to attache child routes to they're parent route?

If all routes are defined on the main route then I can use the route object to build my 2-level menus.

I also just want to set-up all routes in one file.

Martin Andersen
  • 2,460
  • 2
  • 38
  • 66

1 Answers1

0

All the route configuration will be present in the navigation model which you can access using router.navigationModel. Even though you configure your router inside a parent viewmodel, the child routers will still be present inside the navigation model.

Senthil Kumar
  • 373
  • 1
  • 3
  • 8