-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathapp.vue
42 lines (37 loc) · 882 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
<script lang="ts" setup>
import '@unocss/reset/tailwind.css'
import './styles/global.css'
const arch = useArch()
useSeoMeta({
titleTemplate: `%s | ${arch.value.general!.title}`,
description: arch.value.general!.description,
ogImage: arch.value.general!.image,
ogImageAlt: arch.value.general!.title,
twitterTitle: arch.value.general!.title,
twitterDescription: arch.value.general!.description,
twitterImage: arch.value.general!.image,
twitterImageAlt: arch.value.general!.title,
themeColor: arch.value.general!.themeColor,
})
useHead({
link: [
{
rel: 'icon',
type: 'image/png',
href: arch.value.general!.favicon,
},
],
})
</script>
<template>
<Html>
<Head>
<SeoKit :language="arch.general!.locale" />
</Head>
<Body>
<ArchLayout>
<NuxtPage />
</ArchLayout>
</Body>
</Html>
</template>