el-switch
v1.0.0
Published
A switch component for vue.js
Downloads
1
Readme
el-switch
A el-switch component for Vue.js.
Demo
http://element-component.github.io/el-switch
Installation
npm i el-switch -D
Usage
import Vue from 'vue'
import ElSwitch from 'el-switch'
import 'element-theme-default'
Vue.use(ElSwitch)
or
import Vue from 'vue'
import { ElSwitch } from 'el-switch'
Vue.component('el-switch', ElSwitch)
Options
| name | description | type | default | |-------------|-------------|-------------|-------------| | | | | |
Development
make dev
## test
make test
## build
make build