0.0.5-a • Published 5 years ago
wh-switch v0.0.5-a
my-switch
一个相当简单的UI组件, 主要是用于试着发布到NPM
Preview
# git clone
git clone git@github.com:stack-wuh/my-switch.git
# example
cd example
# install
npm install
# run dev
npm run dev
Build Setup
# install dependencies
npm install wh-switch
For detailed explanation on how things work, consult the docs for vue-loader.
使用
import MySwitch from 'wh-switch'
<div class="swict-wrapper">
<my-switch v-model="value" :text="labelText"></my-switch>
</div>