j2u

Json schema Ui Utilities (Form generator, List, Filter)
8,546 3
Install
npm install j2u
Latest Version:1.7.9
Vue:3
License:MIT
Last Updated:Mar 4, 2025
Links: GitHub  ·  npm
Maintainer: morgbn

J2U

JSON Schema based form generator built with vue 3

Installation

yarn add j2u # npm i j2u

Basic Usage

<JsonSchema :schema="schema" v-model="value"/>
schema = {
    type: 'object',
    properties: {
      aaa: { type: 'string', minLength: 1 },
      bbb: { type: 'boolean' },
      ccc: { type: 'string', enum: ['1', '2', '3'] },
      ddd: {
        type: 'object',
        title: '',
        properties: {
          a1: { type: 'string', minLength: 1, maxLength: 5 },
          b2: { type: 'boolean', default: true },
          ddd: {
            type: 'object',
            properties: {
              a1: { type: 'string', default: 'aaa' },
              b2: { type: 'boolean' }
            }
          }
        }
      }
    }
}

Credits

Related Packages

weiyun-ui

UI library For Vue

7,638
lemon-ui-vue2

可视化大屏UI库

1,722 5
@vueblocks/element-schema-form

A schema-based form generator component for Element UI.

1,371 35
day-ui

基于 Vue3 的组件库,样式借用 element-plus 的,用于学习使用

1,326 2
weiyun-bui

UI library For Vue

633

Version History

Version Released Vue License
1.7.9 ^3.2.45 MIT
1.7.8 ^3.2.45 MIT
1.7.7 ^3.2.45 MIT
1.7.6 ^3.2.45 MIT
1.7.5 ^3.2.45 MIT