ilk commit
This commit is contained in:
21
src/App.vue
Normal file
21
src/App.vue
Normal file
@ -0,0 +1,21 @@
|
||||
<template>
|
||||
<RouterView v-if="loaded" />
|
||||
<toasts />
|
||||
<dialogs />
|
||||
<loading />
|
||||
</template>
|
||||
|
||||
<script setup lang="ts">
|
||||
import { ref, onBeforeMount, onMounted } from 'vue'
|
||||
import { RouterView } from 'vue-router'
|
||||
import { useUsersStore } from '@/stores/usersStore'
|
||||
const usersStore = useUsersStore()
|
||||
import Loading from '@/components/Loading.vue'
|
||||
|
||||
const loaded = ref<boolean>(false)
|
||||
|
||||
onBeforeMount(async () => {
|
||||
usersStore.SetUserData()
|
||||
loaded.value = true
|
||||
})
|
||||
</script>
|
||||
Reference in New Issue
Block a user