init Tauri

This commit is contained in:
2026-05-18 19:06:52 +02:00
parent 096bd76c21
commit e6a6949e4a
31 changed files with 5299 additions and 1930 deletions
+3 -3
View File
@@ -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
View File
@@ -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'
}
];