element/packages/switch
2016-09-12 13:53:45 +08:00
..
src misc doc updates 2016-09-12 13:53:45 +08:00
cooking.conf.js package: add lint script & lock vue version 2016-09-09 11:51:28 +08:00
index.js Initial commit 2016-07-27 14:15:02 +08:00
package.json Initial commit 2016-07-27 14:15:02 +08:00
README.md Initial commit 2016-07-27 14:15:02 +08:00

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