next is my tabs routes
const routes: Routes = [
{
path: 'tabs',
component: TabsPage,
children: [
{
path: 'explore',
children: [
{
path: '',
loadChildren: () =>
import('../pages/explore/explore.module').then(m => m.ExplorePageModule)
}
]
},
{
path: 'browse',
component:BrowsePage,
children: [
{
path: 'companies',
loadChildren: () =>
import('../pages/companies/companies.module').then(m => m.CompaniesPageModule)
}
]
},
{
path: 'profile',
children: [
{
path: '',
loadChildren: () =>
import('../pages/profile/profile.module').then(m => m.ProfilePageModule)
}
]
},
{
path: '',
redirectTo: '/tabs/explore',
pathMatch: 'full'
}
]
},
{
path: '',
redirectTo: '/tabs/explore',
pathMatch: 'full'
}
];
i want to make sub page in browse tab called companies
when navigating /tabs/browse i want to open browse page
when navigating /tabs/browse/companies i want to open companies page