pnpm install @rock-hammer/craft-editor
import { CraftEditor, dataMigrateForEditor } from '@rock-hammer/craft-editor'
import { ref } from 'vue'
import json from './data.json'
const data = ref(dataMigrateForEditor(json))
<CraftEditor v-model:data="data">
<template #box="{ id, name, box }">
{{ id }} / {{ name }}: {{ box.width }} x {{ box.height }}
</template>
</CraftEditor>