vue json schema editor visual
2023-01-15 本文已影响0人
寻找无名的特质
一个高效易用的基于 Vue + Element UI 的 json-schema 编辑器。
import JsonSchemaEditor from 'vue-json-schema-editor-visual';
Vue.use(JsonSchemaEditor);
可以编辑json的schema.
支持vue2 和vue 3
npm install json-schema-editor-vue
import JsonSchemaEditor from 'json-schema-editor-vue'
import 'json-schema-editor-vue/lib/json-schema-editor-vue.css'
Vue.use(JsonSchemaEditor)
<json-schema-editor :value="tree"/>