mirror of
https://github.com/ArthurDanjou/ui.git
synced 2026-01-14 12:14:41 +01:00
12 lines
231 B
Vue
12 lines
231 B
Vue
<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>
|