2
0
mirror of https://github.com/tenrok/vue-select.git synced 2026-06-04 06:32:23 +03:00
Files
vue-select/docs/app/pages/guide/[...slug].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

19 lines
357 B
Vue

<script setup lang="ts">
const route = useRoute()
const { data: page } = await useAsyncData(route.path, () => {
return queryCollection('guide').path(route.path).first()
})
useSeoMeta({
title: page.value?.title,
description: page.value?.description,
})
</script>
<template>
<article>
<PageContent :page v-if="page" />
</article>
</template>