I made a vue3 app, with router and all that stuff. I was trying to set-up different metatag for each of my pages, the metatag are there but when i go on the discord embed debugger it return me an empty embedDiscord Embed debugger MetaTags
I’m currently using unhead package
My component
<script setup>
import { useHead } from '@unhead/vue'
useHead({
title: 'test',
meta: [
{
name: 'twitter:title',
content: 'Vue 3 App'
},
{
property: 'og:title',
content: 'Vue 3 App'
}
]
})
</script>
main.js
import { createApp, nextTick } from 'vue'
import App from './App.vue'
import router from './router'
import { createHead } from '@unhead/vue'
const app = createApp(App)
const head = createHead()
app.use(router)
app.use(head)
app.mount('#app')
New contributor
masterdpro is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.