Clean & minimal vue form elements and form builder with validation
https://antonreshetov.github.io/vue-form-components
Installing with npm is recommended and it works seamlessly with webpack.
npm i vfc
You can download latest version from the Github: Download
To use in your project, just import vfc and install into Vue.
import Vue from 'vue'
import App from './App.vue'
import VFC from 'vfc'
import 'vfc/dist/vfc.css'
Vue.use(VFC)
new Vue({
render: h => h(App)
}).$mount('#app')
<template>
<vue-input></vue-input>
</template>
<script>
import 'vfc/dist/vfc.css'
import { Input } from 'vfc'
export default {
components: {
[Input.name]: Input
}
}
</script>
Full component list:
import {
Input,
Button,
Checkbox,
CheckboxGroup,
Radio,
Select,
Option,
Form,
FormItem,
FormBuilder
} from 'vfc'
MIT © 2018-present Anton Reshetov