@dargmuesli/nuxt-vio 1.13.0 → 1.14.0
Sign up to get free protection for your applications and to get access to all the features.
- package/components/VioApp.vue +5 -1
- package/package.json +1 -1
package/components/VioApp.vue
CHANGED
@@ -14,8 +14,11 @@
|
|
14
14
|
export interface Props {
|
15
15
|
siteDescription: string
|
16
16
|
ogImageAlt: string
|
17
|
+
ogImageComponent?: string
|
17
18
|
}
|
18
|
-
const props = withDefaults(defineProps<Props>(), {
|
19
|
+
const props = withDefaults(defineProps<Props>(), {
|
20
|
+
ogImageComponent: undefined,
|
21
|
+
})
|
19
22
|
|
20
23
|
const { locale } = useI18n()
|
21
24
|
const cookieControl = useCookieControl()
|
@@ -46,6 +49,7 @@ updateSiteConfig({
|
|
46
49
|
})
|
47
50
|
defineOgImage({
|
48
51
|
alt: props.ogImageAlt,
|
52
|
+
component: props.ogImageComponent,
|
49
53
|
description: props.siteDescription,
|
50
54
|
})
|
51
55
|
useAppLayout()
|