mirror of
https://github.com/tenrok/vue-select.git
synced 2026-06-01 05:54:03 +03:00
c9917dfd21
pnpm dlx codemod@0.18.7 nuxt/4/migration-recipe
22 lines
497 B
Vue
22 lines
497 B
Vue
<script setup lang="ts">
|
|
import Prose from '~/components/Prose.vue'
|
|
import type { PageCollections } from '@nuxt/content'
|
|
|
|
type PageCollectionItem = PageCollections[keyof PageCollections]
|
|
|
|
defineProps<{
|
|
page: PageCollectionItem
|
|
}>()
|
|
</script>
|
|
|
|
<template>
|
|
<article>
|
|
<PageContentHeader :page />
|
|
<Prose>
|
|
<ContentRenderer :value="page" :path="$route.path" />
|
|
</Prose>
|
|
</article>
|
|
<PageContentFooterNavigation :page />
|
|
<PageTableOfContents :toc="page.body.toc" />
|
|
</template>
|