I setup my NS app to used tabbed navigation with a login screen by following the writeup here.
I am trying to add a button to the players page that will navigate to the team details page for a specific team.
From what I have read it seems like it should be doable with something like this in the players component
toTeam( event: any ) {
var teamId = event.object.team;
this.router.navigate([
'/tabs/default', { outlets: { teamTab: ['team', teamId] } }
])
}
But every variation that I have tried results in Error: Cannot match any routes
.
Does anybody know how to navigate across tabs/outlets?