Skip to content

0x000777/vue-form-components

 
 

Repository files navigation

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,
  FormBuilder
} from 'vfc'

License

MIT © 2018-present Anton Reshetov

About

Clean & minimal vue form elements and form builder with validation

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • Vue 58.4%
  • JavaScript 33.6%
  • CSS 5.1%
  • HTML 2.5%
  • Shell 0.4%