-
-
Notifications
You must be signed in to change notification settings - Fork 13
Expand file tree
/
Copy pathapp.vue
More file actions
38 lines (32 loc) · 809 Bytes
/
app.vue
File metadata and controls
38 lines (32 loc) · 809 Bytes
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
<script setup lang="ts">
import { polyfillCountryFlagEmojis } from "country-flag-emoji-polyfill";
import MatchmakingConfirm from "~/components/matchmaking/MatchmakingConfirm.vue";
import PlayerNameRegistration from "~/components/PlayerNameRegistration.vue";
import StreamGlobal from "~/components/StreamGlobal.vue";
import { useBranding } from "~/composables/useBranding";
useBranding();
</script>
<template>
<NuxtPwaManifest />
<StreamGlobal />
<template v-if="me">
<PlayerNameRegistration />
<MatchmakingConfirm />
</template>
<NuxtLayout>
<NuxtPage></NuxtPage>
</NuxtLayout>
<Toaster />
</template>
<script lang="ts">
export default {
beforeCreate() {
polyfillCountryFlagEmojis();
},
computed: {
me() {
return useAuthStore().me;
},
},
};
</script>