element/packages/switch
baiyaaaaa 8c3b57afdc Merge pull request #10 from QingWei-Li/master
Use cooking@1.0.0-rc.2
2016-09-06 16:33:06 +08:00
..
src
README.md
cooking.conf.js Use cooking@1.0.0-rc.2 2016-09-06 11:51:08 +08:00
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

License

MIT