init Tauri
This commit is contained in:
@@ -1,16 +1,16 @@
|
||||
<ion-tabs>
|
||||
<ion-tab-bar slot="bottom">
|
||||
<ion-tab-button tab="tab1" href="/tabs/tab1">
|
||||
<ion-tab-button tab="pilot" href="/tabs/pilot">
|
||||
<ion-icon aria-hidden="true" name="triangle"></ion-icon>
|
||||
<ion-label>Tab 1</ion-label>
|
||||
</ion-tab-button>
|
||||
|
||||
<ion-tab-button tab="tab2" href="/tabs/tab2">
|
||||
<ion-tab-button tab="umpires" href="/tabs/umpires">
|
||||
<ion-icon aria-hidden="true" name="ellipse"></ion-icon>
|
||||
<ion-label>Tab 2</ion-label>
|
||||
</ion-tab-button>
|
||||
|
||||
<ion-tab-button tab="tab3" href="/tabs/tab3">
|
||||
<ion-tab-button tab="stats" href="/tabs/stats">
|
||||
<ion-icon aria-hidden="true" name="square"></ion-icon>
|
||||
<ion-label>Tab 3</ion-label>
|
||||
</ion-tab-button>
|
||||
|
||||
+13
-16
@@ -7,30 +7,27 @@ export const routes: Routes = [
|
||||
component: TabsPage,
|
||||
children: [
|
||||
{
|
||||
path: 'tab1',
|
||||
loadComponent: () =>
|
||||
import('../tab1/tab1.page').then((m) => m.Tab1Page),
|
||||
path: 'pilot',
|
||||
loadComponent: () => import('../tab1/tab1.page').then((m) => m.Tab1Page)
|
||||
},
|
||||
{
|
||||
path: 'tab2',
|
||||
loadComponent: () =>
|
||||
import('../tab2/tab2.page').then((m) => m.Tab2Page),
|
||||
path: 'umpires',
|
||||
loadComponent: () => import('../tab2/tab2.page').then((m) => m.Tab2Page)
|
||||
},
|
||||
{
|
||||
path: 'tab3',
|
||||
loadComponent: () =>
|
||||
import('../tab3/tab3.page').then((m) => m.Tab3Page),
|
||||
path: 'stats',
|
||||
loadComponent: () => import('../tab3/tab3.page').then((m) => m.Tab3Page)
|
||||
},
|
||||
{
|
||||
path: '',
|
||||
redirectTo: '/tabs/tab1',
|
||||
pathMatch: 'full',
|
||||
},
|
||||
],
|
||||
redirectTo: '/tabs/pilot',
|
||||
pathMatch: 'full'
|
||||
}
|
||||
]
|
||||
},
|
||||
{
|
||||
path: '',
|
||||
redirectTo: '/tabs/tab1',
|
||||
pathMatch: 'full',
|
||||
},
|
||||
redirectTo: '/tabs/pilot',
|
||||
pathMatch: 'full'
|
||||
}
|
||||
];
|
||||
|
||||
Reference in New Issue
Block a user