28 lines
622 B
Vue
28 lines
622 B
Vue
<script setup lang="ts">
|
|
import DynamicLayout from '~/components/dynamic-page/page-section/layouts/index.vue';
|
|
import type { PageSection } from "~/server/models/dynamic-page/index";
|
|
|
|
const emit = defineEmits(['dropComponent', 'dropData', 'selectComponent']);
|
|
|
|
const props = defineProps<{
|
|
label?: any
|
|
layout?: string
|
|
settings?: any
|
|
content?: any
|
|
section: PageSection
|
|
}>()
|
|
|
|
</script>
|
|
|
|
<template>
|
|
<DynamicLayout
|
|
:layout="props.layout"
|
|
:content="props.content"
|
|
:settings="props.settings"
|
|
:section= "props.section"
|
|
/>
|
|
</template>
|
|
|
|
<style lang="scss" scoped>
|
|
|
|
</style> |