PuffercatApps/src/views/TabsPage.vue

39 lines
1018 B
Vue
Raw Normal View History

2022-12-01 05:58:50 +00:00
<template>
<ion-page>
<ion-tabs>
<ion-router-outlet></ion-router-outlet>
<ion-tab-bar slot="bottom">
2022-12-01 10:52:24 +00:00
<ion-tab-button tab="apps" href="/tabs/apps">
<ion-icon :icon="apps" />
<ion-label>Apps</ion-label>
2022-12-01 05:58:50 +00:00
</ion-tab-button>
2022-12-01 10:52:24 +00:00
<ion-tab-button tab="soon" href="/tabs/soon">
<ion-icon :icon="time" />
<ion-label>Coming Soon</ion-label>
2022-12-01 05:58:50 +00:00
</ion-tab-button>
</ion-tab-bar>
</ion-tabs>
</ion-page>
</template>
<script lang="ts">
import { defineComponent } from 'vue';
import { IonTabBar, IonTabButton, IonTabs, IonLabel, IonIcon, IonPage, IonRouterOutlet } from '@ionic/vue';
2022-12-01 10:52:24 +00:00
import { ellipse, square, triangle, apps, time } from 'ionicons/icons';
2022-12-01 05:58:50 +00:00
export default defineComponent({
name: 'TabsPage',
components: { IonLabel, IonTabs, IonTabBar, IonTabButton, IonIcon, IonPage, IonRouterOutlet },
setup() {
return {
ellipse,
square,
triangle,
2022-12-01 10:52:24 +00:00
apps,
time,
2022-12-01 05:58:50 +00:00
}
}
});
</script>