-
Notifications
You must be signed in to change notification settings - Fork 21
/
app.vue
38 lines (34 loc) · 807 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
<template>
<div>
<ConfigProvider :use-id="useIdFunction">
<NuxtLoadingIndicator />
<NuxtPage />
</ConfigProvider>
<UiToastToaster />
<UiVueSonner />
</div>
</template>
<script lang="ts" setup>
// Used to provide id's to radix components in nuxt until Vue releases a useId
import { ConfigProvider } from "radix-vue";
const useIdFunction = () => useId();
useSeoMeta({
ogImage: "/cover.png",
twitterTitle: "UI Thing",
twitterDescription: "UI Thing is a collection of UI components for Nuxt 3.",
twitterImage: "/cover.png",
twitterCard: "summary_large_image",
});
useHead({
htmlAttrs: {
lang: "en",
},
link: [
{
rel: "icon",
type: "image/png",
href: "/icon.png",
},
],
});
</script>