switch-ios-puge
v1.0.4
Published
仿ios开关
Downloads
7
Readme
安装
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>