After installing vue-meta, there is an error in my browser console.
Why is this error showing up? Is it from my code or a bug? I am using [email protected]
and Vue 3.
main.js
createApp(App)
.use(router)
.use(VueMeta)
.mount("#app");
App.vue
<template>
<div>
<router-view></router-view>
</div>
</template>
<script>
import Header from "./components/Header.vue";
export default {
components: {
"app-header": Header,
},
};
</script>
Home.vue
export default {
name: "Home",
metaInfo() {
return {
title: "test meta data with vue",
meta: [
{
vmid: "description",
name: "description",
content:
"hello world, this is an example of adding a description with vueMeta",
},
],
};
},
};