1.1.2 • Published 5 years ago
t-vue-switch v1.1.2
t-vue-switch
Module Usage
npm i t-vue-switch
demo.vue
<template>
<div id="app">
<app-switch v-model="statuss[index]" :isRound="index"></app-switch>
</div>
</template>
<script>
import Switch from 't-vue-switch';
export default {
name: 'App',
data: function() {
return {
statuss: [false, false],
};
},
components: {
appSwitch: Switch,
},
};
</script>
Project setup
npm install
Compiles and hot-reloads for development
npm run serve
Compiles and minifies for production
npm run build