generated from savokiss/nuxt-ui-starter
-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathapp.vue
38 lines (34 loc) · 797 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
<script setup>
const appConfig = useAppConfig()
useHead({
htmlAttrs: { lang: 'en' },
link: [{ rel: 'icon', href: '/favicon.ico' }],
})
useSeoMeta({
viewport: {
width: 'device-width',
initialScale: 1,
maximumScale: 1,
},
title: appConfig.title,
description: appConfig.description,
ogTitle: appConfig.title,
ogDescription: appConfig.description,
ogImage: '/social-image.png',
twitterTitle: appConfig.title,
twitterDescription: appConfig.description,
twitterImage: '/social-image.png',
twitterCard: 'summary_large_image'
})
</script>
<template>
<div class="w-full min-h-screen">
<NuxtPage />
</div>
<UNotifications />
</template>
<style lang="less">
body {
@apply font-sans text-gray-950 bg-gray-50 dark:bg-gray-950 dark:text-gray-50;
}
</style>