Files
bab-app/src/App.vue
Patrick Toal 3a67f2fbb1
Some checks failed
Build BAB Application Deployment Artifact / build (push) Failing after 1m40s
Rename TimeBlock to Interva. More Interval functionality.
2024-05-10 09:50:04 -04:00

22 lines
520 B
Vue

<template>
<router-view />
</template>
<script setup lang="ts">
import { defineComponent, onMounted } from 'vue';
import { useScheduleStore } from './stores/schedule';
import { useBoatStore } from './stores/boat';
import { useAuthStore } from './stores/auth';
defineComponent({
name: 'OYS Borrow-a-Boat',
});
onMounted(async () => {
await useAuthStore().init();
await useScheduleStore().fetchIntervalTemplates();
await useScheduleStore().fetchIntervals();
await useBoatStore().fetchBoats();
});
</script>