12345678 |
- import { defineAsyncComponent, h } from 'vue'
- const Framework = (props, { slots }) => {
- return h(defineAsyncComponent(() => import(`./${props.layout}`)), props, slots)
- }
- Framework.props = {
- layout: { type: String, required: true }
- }
- export default Framework
|