vue-json-schema-editor-visual

A json-schema editor of high efficient and easy-to-use, base on Vue.
1,747 71
Install
npm install vue-json-schema-editor-visual
Latest Version:0.2.6
Vue:2
License:MIT
Last Updated:Dec 4, 2023
Links: GitHub  ·  npm
Maintainer: giscafer

vue-json-schema-editor-visual

A json-schema editor of high efficient and easy-to-use, base on Vue & Element UI.

一个高效易用的基于 Vue + Element UI 的 json-schema 编辑器。 模仿 Yapi React 版本 json-schema-editor-visual 实现

Usage

import JsonSchemaEditor from 'vue-json-schema-editor-visual';

Vue.use(JsonSchemaEditor);

在线 Demo

API

Attributes

参数 说明 类型 默认值
schema json schema 对象 Object -
show-raw 是否显示 RAW 弹窗,可查看 json schema Boolean false
is-mock 是否支持 mock (WIP) Boolean false
show-default-value 是否展示默认值输入框 Boolean false

Events

事件名称 说明 回调参数
schema-change schema 发生变化时的回调函数 新的 json schema 对象

其他 json editor

License

MIT

Related Packages

@vueblocks/element-schema-form

A schema-based form generator component for Element UI.

1,371 35
@chb.wang/zero-ui

Litter code front-end development component

2,304 1
@appscode/vue-openapi-form

A Vue component to generate html form using OpenAPI v3 schema

1,315 72
tuoyuan-vue-json-schema

It is the editor and form component of json-schema for Vue.

1,208

Version History

Version Released Vue License
0.2.6 ^2.6.11 MIT
0.2.5 ^2.6.11 MIT
0.2.3 ^2.6.11 MIT
0.2.2 ^2.6.11 MIT