-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathapp.vue
45 lines (36 loc) · 831 Bytes
/
app.vue
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
<script setup>
/* authentication */
const token = inject("token");
const user = inject("user");
const loading = ref(false);
onMounted(() => {
loading.value = true;
setTimeout(() => {
loading.value = false;
}, 1000);
});
import { UnifiedDialogProvider } from "./utilities/unified-dialogs/mod";
</script>
<template>
<v-app>
<Head>
<Title> Super Frontend </Title>
</Head>
<template v-if="loading">
<div
class="h-screen w-screen flex flex-col content-center justify-center items-center"
>
<img src="/logo.png" width="128" height="128" />
Loading...
</div>
</template>
<template v-else>
<NuxtLayout>
<NuxtPage />
</NuxtLayout>
</template>
<unified-dialog-provider />
</v-app>
</template>
<style lang="scss">
</style>