1.0.0 • Published 5 years ago

v-radio-checkbox v1.0.0

Weekly downloads
-
License
ISC
Repository
-
Last release
5 years ago

v-radio-checkbox

An vue radio/checkbox components

Demo

Live Demo

Installation:

npm install --save-dev v-radio-checkbox

How to use

1、To include this project you need to require the module by using CommonJS syntax or ES6 Modules Syntax (recommended).For example,in main.js file:

import vRadio from 'v-radiio-checkbox'
import vCheckbox from 'v-radiio-checkbox'

Vue.use(vRadio)
Vue.use(vCheckbox)

2、In the .vue file to use:

<template>
    <div>
        <vRadio id="myradio" name="myradio" value="1">
            I'm a robot
        </vRadio>
        <vRadio id="myradio2" name="myradio2" value="0">
            I'm not a robot
        </vRadio>
    </div>
</template>