diff --git a/pages/news/[slug].vue b/pages/news/[slug].vue index a1c3e08..999e354 100644 --- a/pages/news/[slug].vue +++ b/pages/news/[slug].vue @@ -51,6 +51,10 @@ const { data } = await useAsyncData("page-data", () => queryContent(`/news/${slug}`).findOne() ); +onBeforeRouteLeave(() => { + data.value = null; +}); + useSeoMeta({ title: data.value?.title, description: data.value?.description,