docs: bump @nuxt-themes/ui-kit & @nuxt/content

This commit is contained in:
Benjamin Canac
2023-07-28 12:43:33 +02:00
parent 09d0ea27ab
commit 94f1c4e6a0
8 changed files with 223 additions and 39 deletions

View File

@@ -1,5 +1,16 @@
<template>
<UDocsPage v-if="page" :page="page" :surround="(surround as ParsedContent[])">
<ContentRenderer v-if="page && page.body" :value="page" class="prose prose-primary dark:prose-invert max-w-none" />
<UButton
:to="githubLink"
variant="link"
icon="i-heroicons-pencil-square"
label="Edit this page on GitHub"
:padded="false"
class="mt-12"
/>
<template #footer>
<Footer />
</template>
@@ -27,4 +38,6 @@ if (process.server && !page.value) {
}
useContentHead(page)
const githubLink = computed(() => `https://github.com/nuxtlabs/ui/edit/dev/docs/content/${page?.value?._file}`)
</script>