LaravelVueJs

Vue component for forms and inline validation



vue-fancy-form

Vue component for forms and inline validation.

Usage

HTML

ES5 without module loader

For a full example go here

new Vue({  
    el: '#app',
    components: {
        'VueFancyForm': window['vue-fancy-form'].VueFancyForm,
    },
    data: [
        form: [ ... ],
    ],
});

ES6 with module loader

npm install --save vue-fancy-form

import {VueFancyForm} from 'vue-fancy-form';

new Vue({  
    el: '#app',
    components: [
        VueFancyForm,
    ],
    data: [
        form: [ ... ],
    ],
});

Live Demo

https://codepen.io/Index/pen/WxxYGV?limit=all&page=11&q=vue

See the Pen Formulars with Vue.js (https://github.com/simonknittel/vue-fancy-form) by Simon (@Index) on CodePen.

GitHub




Source link

★ READ ALSO ★  eTrade - Online Trading Platform

1 thought on “Vue component for forms and inline validation”

Leave a Reply

Your email address will not be published. Required fields are marked *

This site uses Akismet to reduce spam. Learn how your comment data is processed.

Close