vue-meta
vue-meta copied to clipboard
Vue 3 [email protected] TypeError: Cannot read properties of undefined (reading 'tag') when computed meta
I use computed meta
<script setup lang="ts">
const { organization } = storeToRefs(usePageOrganization());
const computedMeta = computed(() => ({
title: organization.value?.name,
}));
useMeta(computedMeta);
</script>
<template>
<metainfo>
<template v-slot:title="{ content }">{{ content }}</template>
</metainfo>
</template>
When vue-router is working there are no errors. But if you refresh the page there will be an error.
Env: Vue 3 [email protected]
Same here
Still no fixes
I am also seeing this error, using computed meta, 3.0.0-alpha.10
Same here
just provide the default value