generated from antfu/vitesse-nuxt
-
Notifications
You must be signed in to change notification settings - Fork 24
/
app.vue
45 lines (38 loc) · 850 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 lang="ts">
import { appDescription, appName } from '~/constants'
useHead({
titleTemplate: titleChunk => titleChunk ? `${titleChunk} - ${appName}` : appName,
htmlAttrs: {
lang: 'en',
},
meta: [
{ name: 'viewport', content: 'width=device-width, initial-scale=1' },
{ name: 'description', content: appDescription },
{ name: 'og:type', content: 'website' },
{ name: 'og:image', content: '/social.jpg' },
{ name: 'apple-mobile-web-app-status-bar-style', content: 'black-translucent' },
],
link: [
{
rel: 'icon',
type: 'image/svg',
href: '/favicon.svg',
},
],
})
</script>
<template>
<NuxtLayout>
<NuxtPage />
</NuxtLayout>
</template>
<style>
html, body , #__nuxt{
height: 100vh;
margin: 0;
padding: 0;
}
html {
@apply text-white bg-dark-700;
}
</style>