mirror of
https://github.com/ArthurDanjou/ui.git
synced 2026-01-14 12:14:41 +01:00
Co-authored-by: Pooya Parsa <pooya@pi0.io> Co-authored-by: Florent Delerue <florentdelerue@hotmail.com> Co-authored-by: Sébastien Chopin <seb@nuxt.com>
12 lines
229 B
Vue
12 lines
229 B
Vue
<template>
|
|
<div class="p-4 flex flex-col justify-center h-screen overflow-auto">
|
|
<component :is="name" />
|
|
</div>
|
|
</template>
|
|
|
|
<script setup lang="ts">
|
|
const route = useRoute()
|
|
|
|
const name = route.params.slug[0]
|
|
</script>
|