17 lines
295 B
Vue
17 lines
295 B
Vue
<script setup lang="ts">
|
|
import { onMounted } from 'vue'
|
|
import { useAuthStore } from './store/auth'
|
|
|
|
const authStore = useAuthStore()
|
|
|
|
onMounted(async () => {
|
|
await authStore.initialize()
|
|
})
|
|
</script>
|
|
|
|
<template>
|
|
<router-view />
|
|
</template>
|
|
|
|
<style src="./styles/theme.scss" lang="scss" />
|