import { defineComponent, reactive, ref } from 'vue'; import Schlechtenburg from '/@components/Schlechtenburg'; import { Block, SbMode } from '/@components/TreeElement'; import initialData from './initial-data.json'; import './App.scss'; export default defineComponent({ name: 'App', setup() { const activeTab = ref('edit'); const block = reactive(initialData) as Block; return () => (
{ block.name = newBlock.name; block.blockId = newBlock.blockId; block.data = newBlock.data; }} />
          {JSON.stringify(block, null, 2)}
        
); }, });