@dokoo/v-form-builder
v0.0.8
Published
## Installation
Downloads
5
Readme
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>