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 () => (
{ block.name = newBlock.name; block.blockId = newBlock.blockId; block.data = newBlock.data; }} />
          {JSON.stringify(block, null, 2)}
        
); }, });