I’ve recently upgraded from an older version of Ionic to the latest one and I’m trying to wrap my head around the routing.
For example, simple tab bar with two tabs, each tab has nested lists that end up on a detail page.
Imagine the app layout is something like this:
tab1 tab1/list1 tab1/list1/list2 tab1/list1/list2/detail tab2 tab2/list1 tab2/list1/list2 tab2/list1/list2/list3 tab2/list1/list2/list3/detail
I want to be able to link directly to any child page such as
tab1/list1/list2 from anywhere in the app (and it will switch to the right tab when it navigates), and I want it to have the toolbar back button navigate back down the tree (to
tab1/list1 in this case) rather than go back to the page you came from.
What would be the simplest way to create the routing for something like this?