Vue Form Components v2.0.0 is out

github logo ・1 min read

In version 2 added Form Builder component - a schema-based builder to generate form with components and validation 🎉

Changelog:
Breaking

  • Drop async validation

Features

  • VeeValidate for form validation
  • Form Builder

antonreshetov / vue-form-components

Clean & minimal vue form elements and from builder with validation

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&gt
  <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
twitter logo DISCUSS
Classic DEV Post from Sep 12 '18

The fine line between being lazy and challenging yourself

Am I brilliant or just plain lazy?

Anton Reshetov profile image
Frontend developer in Atalan