Skip to content
基于vue的插件
JavaScript Vue
Branch: master
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
lib
mixins
src
.gitignore
.npmignore
README.md
app.vue
package-lock.json
package.json
rollup.config.js
testForm.vue

README.md

st-vue-ui

install

npm install st-vue-ui --save

use

// main.js
import TomButton from 'st-vue-ui'
Vue.use(TomButton)
// app.vue
<div class="home">
    <tom-button size="medium" type="primary" disabled @click="handleClick">按钮</tom-button>
</div>

Attributes

参数 说明 类型 可选值 默认值
size 尺寸 string medium / small / mini
type 类型 string primary / success / warning / danger / info
round 是否圆角按钮 boolean false
disabled 是否禁用状态 boolean false
You can’t perform that action at this time.