-
Notifications
You must be signed in to change notification settings - Fork 4
/
Copy pathapp.vue
32 lines (31 loc) · 1.22 KB
/
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
<template>
<NuxtLayout>
<Html lang="en" :data-route-path="$route?.path">
<Head>
<Title>Template</Title>
<Meta name="language" content="en" />
<Meta property="og:title" content="Template" />
<Meta name="twitter:title" content="Template" />
<Meta name="description" content="Template" />
<Meta property="og:description" content="Template" />
<Meta name="twitter:description" content="Template" />
<Meta property="og:image" content="/favicon.png" />
<Meta name="twitter:image" content="/favicon.png" />
<Meta property="og:site_name" content="/favicon.png" />
<Meta name="twitter:site" content="/favicon.png" />
<Meta name="url" :content="`${nuxtApp?.$app_origin}${$route?.path}`" />
<Meta
property="og:url"
:content="`${nuxtApp?.$app_origin}${$route?.path}`"
/>
<Link rel="icon" type="image/x-icon" href="/favicon.ico" />
<Link rel="apple-touch-icon" type="image/png" href="/favicon.png" />
<Link rel="apple-touch-startup-image" href="/favicon.png" />
</Head>
</Html>
<NuxtPage />
</NuxtLayout>
</template>
<script lang="ts" setup>
const nuxtApp = useNuxtApp()
</script>