fix: @vueuse/head -> <meta> index.html

This commit is contained in:
2026-06-07 23:13:51 +03:00
parent f0165aaa2e
commit 96ac249acf
2 changed files with 52 additions and 43 deletions
+43 -43
View File
@@ -19,51 +19,51 @@ import StepsSection from '../components/StepsSection.vue'
import TestimonialsSection from '../components/TestimonialsSection.vue'
import FaqSection from '../components/FaqSection.vue'
import { useHead } from '@vueuse/head';
// import { useHead } from '@vueuse/head';
import { useRoute } from 'vue-router';
const route = useRoute();
useHead({
title: route.meta.title,
meta: [
{
name: 'description',
content: route.meta.description
},
{
name: 'keywords',
content: route.meta.keywords
},
// Open Graph теги для соцсетей
{
property: 'og:title',
content: route.meta.title
},
{
property: 'og:description',
content: route.meta.description
},
{
property: 'og:type',
content: 'website'
},
{
property: 'og:url',
content: window.location.href // Здесь можно также задать каноничный URL
},
{
property: 'og:site_name',
content: route.meta.title
},
{
property: 'telegram:channel',
content: '@uvpn_shop'
},
{
property: 'tg:site_verification',
content: 'g7j8/rPFXfhyrq5q0QQV7EsYWv4='
},
]
});
// useHead({
// title: route.meta.title,
// meta: [
// {
// name: 'description',
// content: route.meta.description
// },
// {
// name: 'keywords',
// content: route.meta.keywords
// },
// // Open Graph теги для соцсетей
// {
// property: 'og:title',
// content: route.meta.title
// },
// {
// property: 'og:description',
// content: route.meta.description
// },
// {
// property: 'og:type',
// content: 'website'
// },
// {
// property: 'og:url',
// content: window.location.href // Здесь можно также задать каноничный URL
// },
// {
// property: 'og:site_name',
// content: route.meta.title
// },
// {
// property: 'telegram:channel',
// content: '@uvpn_shop'
// },
// {
// property: 'tg:site_verification',
// content: 'g7j8/rPFXfhyrq5q0QQV7EsYWv4='
// },
// ]
// });
</script>