0.1.16 • Published 6 months ago

@roma219/vue-jsonschema-form v0.1.16

Weekly downloads
27
License
MIT
Repository
github
Last release
6 months ago

Build Status Coverage Status dependencies Status Known Vulnerabilities Language grade: JavaScript last commit  

minified size npm.io

vue-jsonschema-form

JSON Schema based form generator built with Vue.js. Currently Work in Progress.

Full Guide and Examples

https://roma219.github.io/vue-jsonschema-form/guide/

Demo on Codesandbox

Installation

npm install @roma219/vue-jsonschema-form

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' }
            }
          }
        }
      }
    }
}
0.1.15

6 months ago

0.1.16

6 months ago

0.1.14

4 years ago

0.1.13

4 years ago

0.1.11

4 years ago

0.1.1

4 years ago

0.1.0

4 years ago

0.0.974

4 years ago

0.0.973

4 years ago

0.0.972

4 years ago

0.0.971

4 years ago

0.0.97

5 years ago

0.0.96

5 years ago

0.0.95

5 years ago

0.0.94

5 years ago

0.0.93

5 years ago

0.0.92

5 years ago

0.0.91

5 years ago

0.0.9

5 years ago

0.0.8

5 years ago

0.0.7

5 years ago

0.0.6

5 years ago

0.0.5

5 years ago

0.0.4

5 years ago

0.0.3

5 years ago

0.0.2

5 years ago

0.0.1

5 years ago