22 lines
438 B
Vue
22 lines
438 B
Vue
<script setup lang="ts">
|
|
import { onMounted } from 'vue';
|
|
import Header from '@/layout/partials/Header.vue';
|
|
import Footer from './layout/partials/Footer.vue';
|
|
import { useAuth } from '@/composables/useAuth';
|
|
|
|
const { initialize } = useAuth();
|
|
|
|
onMounted(() => {
|
|
void initialize();
|
|
});
|
|
</script>
|
|
|
|
<template>
|
|
<Header />
|
|
|
|
<main class="grow container mx-auto my-8">
|
|
<RouterView />
|
|
</main>
|
|
|
|
<Footer />
|
|
</template>
|