feat: Initial useNodeByUri
All checks were successful
Deploy WordPress and Nuxt / deploy (push) Successful in 59s

This commit is contained in:
2025-09-03 14:45:31 -04:00
parent b15beb961e
commit 7558da689d
6 changed files with 49 additions and 9 deletions

View File

@@ -0,0 +1,8 @@
<script setup lang="ts">
const { node, component } = await useNodeByUri();
useSeoMeta({ title: node?.title });
</script>
<template>
<component :is="component" :node="node" />
</template>

View File

@@ -1,9 +0,0 @@
<script setup lang="ts">
useSeoMeta({ title: "Accueil" });
</script>
<template>
<UPage>
<UPageHero title="Nuxt UI rocks" />
</UPage>
</template>