vue2-icon-checkbox
v0.0.8
Published
Vue2IconCheckbox: Vue2 component
Downloads
29
Maintainers
Readme
Vue2IconCheckbox
Vue2IconCheckbox Component for Vue 2.x
Install
npm install vue2-icon-checkbox --save
Demo
For demo, please see here
Usage
1. Import the component
import Vue2IconCheckbox from 'vue2-icon-checkbox';
2.1 Use it globally
Vue.use(Vue2IconCheckbox);
2.2 Or use it locally
components: {
'vue2-icon-checkbox': Vue2IconCheckbox
},
3. Update your app or template:
<div>
...
<vue2-icon-checkbox></vue2-icon-checkbox>
...
</div>
Properties
There are no properties.
Example
<template>
<div>
<vue2-icon-checkbox>This is icon checkbox</vue2-icon-checkbox>
</div>
</template>
<script>
import Vue2IconCheckbox from '../src/index';
export default {
name: 'app',
data() {
return {}
},
components: {
Vue2IconCheckbox
},
methods: {},
}
</script>
Contributing
Contributions are welcome
Build Setup
# install dependencies
npm install
# serve with hot reload at localhost:8080
npm run dev
# build for production with minification
npm run build