element/packages/switch
Leopoldthecoder f80f2d55e3 update switch
2016-08-04 19:56:54 +08:00
..
src update switch 2016-08-04 19:56:54 +08:00
cooking.conf.js Initial commit 2016-07-27 14:15:02 +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