mirror of
https://github.com/Elvanos/fantasia-archive.git
synced 2024-06-02 10:24:54 +12:00
21 lines
334 B
Vue
21 lines
334 B
Vue
|
<template>
|
||
|
<q-layout>
|
||
|
<component :is="component" v-bind="$attrs" />
|
||
|
</q-layout>
|
||
|
</template>
|
||
|
|
||
|
<script lang="ts">
|
||
|
import { defineComponent } from 'vue'
|
||
|
|
||
|
export default defineComponent({
|
||
|
name: 'LayoutContainer',
|
||
|
inheritAttrs: false,
|
||
|
props: {
|
||
|
component: {
|
||
|
type: Object,
|
||
|
required: true
|
||
|
}
|
||
|
}
|
||
|
})
|
||
|
</script>
|