mirror of
https://gitee.com/ElemeFE/element.git
synced 2024-12-05 05:38:24 +08:00
.. | ||
src | ||
cooking.conf.js | ||
index.js | ||
package.json | ||
README.md |
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