j2u
TypeScript icon, indicating that this package has built-in type declarations

1.7.9 • Public • Published

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

Versions

Current Tags

VersionDownloads (Last 7 Days)Tag
1.7.91latest

Version History

VersionDownloads (Last 7 Days)Published
1.7.91
1.7.80
1.7.70
1.7.61
1.7.50
1.7.40
1.7.31
1.7.21
1.7.11
1.7.00
1.6.01
1.5.21
1.5.11
1.5.00
1.4.11
1.4.01
1.3.31
1.3.20
1.3.11
1.3.01

Package Sidebar

Install

npm i j2u

Weekly Downloads

13

Version

1.7.9

License

MIT

Unpacked Size

380 kB

Total Files

15

Last publish

Collaborators

  • morgbn