Nuxt Content 3 migration #12
@ -13,6 +13,7 @@ const route = useRoute();
|
|||||||
|
|
||||||
// we're not using ContentDoc because i need control
|
// we're not using ContentDoc because i need control
|
||||||
const doc = await queryContent<GeneralParsedContent>(route.path).findOne();
|
const doc = await queryContent<GeneralParsedContent>(route.path).findOne();
|
||||||
|
useTitle(doc.title);
|
||||||
</script>
|
</script>
|
||||||
|
|
||||||
<template>
|
<template>
|
||||||
|
Loading…
Reference in New Issue
Block a user