# vue-switch-tool

> A Vue.js project

Latest version **1.0.0** (published 2019-02-21) · MIT license · 0 weekly downloads

## Install

```sh
npm install vue-switch-tool
pnpm add vue-switch-tool
yarn add vue-switch-tool
bun add vue-switch-tool
```

## Health

**Score 15/100 (F)** — status: abandoned.

Positive: no vulnerabilities.

Warnings: low downloads; no types; no esm support.

Negative: abandoned; low maintenance score.

## Facts

| | |
|---|---|
| Version | 1.0.0 |
| Published | 2019-02-21 |
| First published | 2019-02-21 |
| Weekly downloads | 0 |
| License | MIT |
| TypeScript types | none |
| Module format | CommonJS |
| Dependencies | 1 |
| Unpacked size | 79.9 KB |
| Known vulnerabilities | 0 (+1 in 1 direct dependencies) |
| Install scripts | no |
| Author | wzqwangyoucao |
| Maintainers | wzqwangyoucao |

## Links

- npm: https://www.npmjs.com/package/vue-switch-tool
- npm.io page: https://npm.io/package/vue-switch-tool

## Dependencies (1)

- [vue](https://npm.io/package/vue.md) ^2.5.11

## Recent versions

- 1.0.0 (latest) — 2019-02-21

## README

# vue-switch-tool

> A Vue.js project

## Build Setup

``` bash
# install dependencies
npm install

# serve with hot reload at localhost:8080
npm run dev

# build for production with minification
npm run build
```

For detailed explanation on how things work, consult the [docs for vue-loader](http://vuejs.github.io/vue-loader).

本插件的使用方法
1. 安装组件
 进行npm install vue-switch-tool --save

2. 在vue中引入组件 
 import switchele from 'wzqcomponent';
 
3. 进行组件祖册
 components: {switchele},

4. 应用组件
```
<switchele v-model="value1" activeColor="#13ce66" inactiveColor="#ff4949" @change="readVal"/>
activeColor：点击之后颜色
inactiveColor：点击之前的颜色
@change：可监听事件
```

---
_Source: https://npm.io/package/vue-switch-tool · Machine-readable twin of the npm.io package page. Health data is recomputed on every publish._
