This is my routes component. Basically i'm routing the outlet to the html tabs
Currently I'm in Transactions page ->TransactionsComponent tab (single).
<a [routerLink]="['../Product',{outlets :{ }}]"></a>
I'm not sure what how should be the routerlink above to to navigate to the FridgeComponent -> 'fridge' outlet directly. I tried different option, none are working.
Please suggest the way to achieve this.
export const ROUTES: Routes = [
{ path: '', redirectTo:'home', pathMatch: 'full'},
{ path: 'home', component: HomeComponent,
children:[
{
path :'',
component: HomeOneComponent,
outlet:'one'},
{
path :'',
component: HomeTwoComponent,
outlet:'two'
}
]},
{
path: 'Product',
component: ProductComponent,
children:[
{path :'', component: TVComponent, outlet:'tv'},
{path :'', component: ACComponent, outlet:'ac'},
{path :'', component: FridgeComponent, outlet:'fridge'}
]
},
{
path: 'Transactions',
component: TransactionsComponent
}
];