qingwei.li 3c12100f52 Components: use es2015 export module, fixed #907 %!s(int64=8) %!d(string=hai) anos
..
src 37b9636a6e fix switch style bug in ie9 %!s(int64=8) %!d(string=hai) anos
README.md e320f43c2d Initial commit %!s(int64=9) %!d(string=hai) anos
cooking.conf.js 0cc28fb16a Support publish component packages %!s(int64=8) %!d(string=hai) anos
index.js 3c12100f52 Components: use es2015 export module, fixed #907 %!s(int64=8) %!d(string=hai) anos
package.json 70307dfadb fix package.json url %!s(int64=8) %!d(string=hai) anos

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