mirror of
https://github.com/ArthurDanjou/ui.git
synced 2026-01-19 14:31:47 +01:00
12 lines
247 B
Vue
12 lines
247 B
Vue
<script setup lang="ts">
|
|
const route = useRoute()
|
|
|
|
const name = route.params.slug?.[0]
|
|
</script>
|
|
|
|
<template>
|
|
<div class="flex flex-col justify-center items-center h-screen">
|
|
<component :is="name" v-bind="route.query" />
|
|
</div>
|
|
</template>
|