<template>
  <ion-page>
    <ion-tabs @ionTabsWillChange="beforeTabChange" @ionTabsDidChange="afterTabChange">
      <ion-tab-bar slot="bottom">
        <ion-tab-button tab="schedule" href="/tabs/schedule">
          <ion-icon :icon="calendar"></ion-icon>
          <ion-label>Schedule</ion-label>
          <ion-badge>6</ion-badge>
        </ion-tab-button>
        <ion-tab-button tab="speakers" href="/tabs/speakers">
          <ion-icon :icon="personCircle"></ion-icon>
          <ion-label>Speakers</ion-label>
        </ion-tab-button>
      </ion-tab-bar>
    </ion-tabs>
  </ion-page>
</template>
<script>
  import { defineComponent } from 'vue';
  import { IonIcon, IonLabel, IonPage, IonTabBar, IonTabButton, IonTabs } from '@ionic/vue';
  import { calendar, personCircle } from 'ionicons/icons';
  export default defineComponent({
    components: {
      IonIcon,
      IonLabel,
      IonPage,
      IonTabBar,
      IonTabButton,
      IonTabs,
    },
    setup() {
      const beforeTabChange = () => {
        
      };
      const afterTabChange = () => {
        
      };
      return {
        calendar,
        personCircle,
        beforeTabChange,
        afterTabChange,
      };
    },
  });
</script>