mirror of
https://gitee.com/ElemeFE/element.git
synced 2024-12-03 04:39:09 +08:00
670 B
670 B
el-switch
A el-switch component for Vue.js.
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