vjf
@roma219/vue-jsonschema-form
npm i @roma219/vue-jsonschema-form
vjf

@roma219/vue-jsonschema-form

JSON Schema based Form Generator built with Vue.js

by Roman Sabirov roma219@yandex.ru

0.1.14 (see all)License:MITTypeScript:Not Found
npm i @roma219/vue-jsonschema-form
Readme

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

minified size

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

Downloads/wk

194

GitHub Stars

15

LAST COMMIT

2yrs ago

MAINTAINERS

1

CONTRIBUTORS

3

OPEN ISSUES

4

OPEN PRs

26
VersionTagPublished
0.1.14
latest
2yrs ago
No alternatives found
No tutorials found
Add a tutorial