mirror of
https://github.com/tenrok/vue-select.git
synced 2026-06-04 06:32:23 +03:00
c9917dfd21
pnpm dlx codemod@0.18.7 nuxt/4/migration-recipe
19 lines
357 B
Vue
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>
|