21 lines
329 B
Vue
21 lines
329 B
Vue
|
<template>
|
||
|
<q-layout>
|
||
|
<component :is="component" v-bind="$attrs" />
|
||
|
</q-layout>
|
||
|
</template>
|
||
|
|
||
|
<script>
|
||
|
import { defineComponent } from 'vue';
|
||
|
|
||
|
export default defineComponent({
|
||
|
name: 'LayoutContainer',
|
||
|
inheritAttrs: false,
|
||
|
props: {
|
||
|
component: {
|
||
|
type: Object,
|
||
|
required: true,
|
||
|
},
|
||
|
},
|
||
|
});
|
||
|
</script>
|