wh-switch
v0.0.5-a
Published
vue component
Downloads
3
Readme
my-switch
一个相当简单的UI组件, 主要是用于试着发布到NPM
Preview
# git clone
git clone [email protected]: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>