Преглед изворни кода

restore meta update on client routing

Olivier Massot пре 1 година
родитељ
комит
3bdb687c70
2 измењених фајлова са 1 додато и 2 уклоњено
  1. 0 1
      app.vue
  2. 1 1
      components/Common/Meta.vue

+ 0 - 1
app.vue

@@ -1,6 +1,5 @@
 <template>
 <template>
   <Html :lang="i18nHead.htmlAttrs.lang" :dir="i18nHead.htmlAttrs.dir">
   <Html :lang="i18nHead.htmlAttrs.lang" :dir="i18nHead.htmlAttrs.dir">
-
     <div id="top" />
     <div id="top" />
 
 
     <LayoutNavigation />
     <LayoutNavigation />

+ 1 - 1
components/Common/Meta.vue

@@ -22,7 +22,7 @@ const props = defineProps({
   },
   },
 })
 })
 
 
-useServerSeoMeta({
+useSeoMeta({
   title: props.title,
   title: props.title,
   ogTitle: props.title,
   ogTitle: props.title,
   twitterTitle: props.title,
   twitterTitle: props.title,