forked from verdnatura/hedera-web
17 lines
346 B
Vue
17 lines
346 B
Vue
<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>
|