I’m not really well-versed in angular, so please bear with me. Below is my tabs-routing.module.ts
.
const routes: Routes = [
{
path: 'tabs',
component: TabsPage,
children: [
{
path: 'tabWasiatTakaful',
children: [
{ path: '', loadChildren: () => import('../tab-wasiat-takaful/tab-wasiat-takaful.module').then(m => m.TabWasiatTakafulPageModule)},
{ path: 'view:ID', loadChildren: () => import('../tab-wasiat-takaful-view/tab-wasiat-takaful-view.module').then(m => m.TabWasiatTakafulViewPageModule)},
]
},
]
},
{
path: '',
redirectTo: '/tabs/tabCloseContact',
pathMatch: 'full'
},
];
How do I open the tab-wasiat-takaful-view
page? Because I don’t see the documentation here mentioned about it.
I tried doing <ion-item [routerLink]="['/tabWasiatTakaful','view']"> <ion-label>Wasiat Utama</ion-label> </ion-item>
but it gives me few errors.