0.0.8 • Published 2 years ago

@dokoo/v-form-builder v0.0.8

Weekly downloads
-
License
MIT
Repository
-
Last release
2 years ago

Dokoo Form Builders

Installation

yarn add @dokoo/v-form-builder
import Vue from 'vue'
import {plugin} from '@dokoo/v-form-builder'

Vue.use(plugin({
  inputs: {
    text: {
      component: VTextField,
      options: {
        dense: true,
        outlined: true
      }
    }
  }
}))

Usage

<template>
  <dokoo-form 
    :inputs="inputs"
  />
</template>

<script>
export default {
  data () {
    return {
      inputs: [
        {
          type: 'text',
          key: 'title',
          options: {
            label: 'My Title'
          }
        }
      ]
    }
  }
}
</script>
0.0.8

2 years ago

0.0.7

2 years ago

0.0.6

3 years ago

0.0.5

3 years ago

0.0.4

3 years ago

0.0.3

3 years ago

0.0.2

3 years ago