mirror of
https://github.com/tenrok/vue-select.git
synced 2026-05-17 02:29:37 +03:00
7644929efe
Migrates documentation from markdown-based content to Nuxt Content v3 with file-based routing. Removes old markdown content files, adds new Vue page components, updates layout and content rendering logic, introduces a Prose wrapper, and updates dependencies for Nuxt Content v3 and related packages.
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>
|