vfc
Vue form components with validation
941
121
| Install | |
|---|---|
npm install vfc |
|
| Latest Version: | 2.0.0 |
| Vue: | 2 |
| License: | MIT |
| Last Updated: | Mar 4, 2020 |
| Links: | GitHub · npm |
Maintainer: antonreshetov
Vue Form Components
Documentation
https://antonreshetov.github.io/vue-form-components
Install
NPM
Installing with npm is recommended and it works seamlessly with webpack.
npm i vfc
Download
You can download latest version from the Github: Download
Quick start
Global
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')
On demand
<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
} from 'vfc'
License
MIT © 2018-present Anton Reshetov
Related Packages
@dolanske/v-valid
Model based form validation made for vue 3. Inspired by vuelidate with personal...
1,350
1
Version History
| Version | Released | Vue | License |
|---|---|---|---|
| 2.0.0 | ^2.6.0 | MIT | |
| 1.1.2 | ^2.5.17 | MIT | |
| 1.1.1 | ^2.5.17 | MIT | |
| 1.1.0 | ^2.5.17 | MIT | |
| 1.0.0 | ^2.5.17 | MIT |