Tabs router for Ionic v4 beta

Does anyone have any idea how to setup routing for tabs on the V4.0.0-beta?
I can’t find any doc about it.

I can’t find a way to have nested pages and tabs have this odd href for its root content:
/tabs/(teams:teams)

Just check out the tabs starter:

ionic start MyApp tabs --type=angular

It has a tabs layout set up by default. The odd syntax for the route is to allow for specifying a particular router outlet and path for nested router outlets. In this case it would use the teams outlet and have a path of teams.

I’m using the starter indeed.

I know Tabs aren’t meant for web, but it seems off to have this sort of navigation “(url:url)”, especially if you’re planning a PWA, or am I missing something?

1 Like