import { defineComponent, reactive, ref, } from '@vue/composition-api'; import Schlechtenburg from '@components/Schlechtenburg'; import { Block } 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 Block; return () => (
{JSON.stringify(block, null, 2)}