docs: add children in components route

This commit is contained in:
Sébastien Chopin
2025-02-21 16:15:17 +01:00
parent e0e8774da5
commit 7f1cf5c71f
2 changed files with 39 additions and 2 deletions

View File

@@ -25,7 +25,7 @@ const items = computed(() => props.links.map(({ icon, ...link }) => link))
</script>
<template>
<UHeader :ui="{ left: 'min-w-0' }" mode="drawer" :menu="{ shouldScaleBackground: true }">
<UHeader :ui="{ left: 'min-w-0' }" :menu="{ shouldScaleBackground: true }">
<template #left>
<NuxtLink to="/" class="flex items-end gap-2 font-bold text-xl text-(--ui-text-highlighted) min-w-0 focus-visible:outline-(--ui-primary) shrink-0" aria-label="Nuxt UI">
<LogoPro class="w-auto h-6 shrink-0 ui-pro-only" />