How to use Vue 3 Meta with Vue.js 3?
I am trying to use vue-meta with vue3 but its not working,
is there any way to use it? I am using vite...
What did you try? what results do you get?
@MohamedTammam
I am using following code:
import { createApp } from 'vue'
import VueMeta from "vue-meta";
import App from './App.vue'
createApp(App)
.use(VueMeta)
.mount('#app')
and
getting this error:
Uncaught TypeError: Cannot set properties of undefined (setting '$meta')
@MohamedTammam Tried that but it seems, there's a support for title only.
I think moving to teleport will help.
@Tjyoung
having same issue it only work on title
where you able able to get it done with teleport
@Macclinson I resolved the issue with the help of Inertia
Please or to participate in this conversation.