import { defineComponent, reactive, ref, } from '@vue/composition-api'; import Schlechtenburg from '@components/Schlechtenburg'; import { BlockData } from './components/TreeElement'; import './App.scss'; export default defineComponent({ name: 'App', setup() { const activeTab = ref('edit'); const block = reactive({ name: 'sb-layout', blockId: `${+(new Date())}`, data: { orientation: 'vertical', children: [], }, }) as BlockData; return () => (
{JSON.stringify(block, null, 2)}