2
0
mirror of https://github.com/tenrok/vue-select.git synced 2026-05-26 04:34:04 +03:00
Files
vue-select/docs/app/components/PageContentHeader.vue
T
Jeff Sagal c9917dfd21 run codemod
pnpm dlx codemod@0.18.7 nuxt/4/migration-recipe
2025-11-13 20:01:42 -08:00

23 lines
527 B
Vue

<script setup lang="ts">
import type { PageCollections } from '@nuxt/content'
type PageCollectionItem = PageCollections[keyof PageCollections]
defineProps<{
page: PageCollectionItem
}>()
</script>
<template>
<header class="mb-9 space-y-1">
<p v-if="page?.section" class="font-display text-sm font-bold text-sky-500">
{{ page?.section }}
</p>
<h1
class="font-display font-bold text-3xl tracking-tight text-slate-900 dark:text-white"
>
{{ page?.title }}
</h1>
</header>
</template>