<script setup>
import { useAppStore } from 'stores/app';
import { useUserStore } from 'stores/user';
import { onBeforeMount } from 'vue';
const appStore = useAppStore();
const userStore = useUserStore();

onBeforeMount(async () => {
    await userStore.init();
    await appStore.init();
});
</script>

<template>
    <router-view />
</template>
