switch-ios-puge
Version:
31 lines (28 loc) • 410 B
Markdown

安装
```
npm i -save switch-ios-puge
或
yarn add switch-ios-puge
```
使用
```
<template>
<div>
<Switch v-model="active"></Switch>
</div>
</template>
<script>
import Switch from 'switch-ios-puge'
export default {
components: {
Switch
},
data () {
return {
active: true
}
}
}
</script>
```