docs: migrate to nuxt compatibility 4

This commit is contained in:
Benjamin Canac
2024-06-12 11:10:36 +02:00
parent ceee9b2e11
commit 20995aa6d3
85 changed files with 74 additions and 69 deletions

View File

@@ -0,0 +1,11 @@
<script setup lang="ts">
const route = useRoute()
const name = route.params.slug[0]
</script>
<template>
<div class="p-4 flex flex-col justify-center h-screen overflow-auto">
<component :is="name" />
</div>
</template>