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 () => (
{JSON.stringify(block, null, 2)}