element/packages/switch
2016-10-18 17:00:50 +08:00
..
src Testing: switch (#477) 2016-10-18 17:00:50 +08:00
cooking.conf.js Support publish component packages 2016-10-17 12:14:10 +08:00
index.js Support publish component packages 2016-10-17 12:14:10 +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