Sign Up for Free

RunKit +

Try any Node.js package right in your browser

This is a playground to test code. It runs a full Node.js environment and already has all of npm’s 400,000 packages pre-installed, including st-vue-ui with all npm packages installed. Try it out:

var stVueUi = require("st-vue-ui")

This service is provided by RunKit and is not affiliated with npm, Inc or the package authors.

st-vue-ui v1.1.2

基于Vue的UI插件

st-vue-ui

install

npm install st-vue-ui --save

use

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

Attributes

参数说明类型可选值默认值
size尺寸stringmedium / small / mini
type类型stringprimary / success / warning / danger / info
round是否圆角按钮booleanfalse
disabled是否禁用状态booleanfalse

Metadata

RunKit is a free, in-browser JavaScript dev environment for prototyping Node.js code, with every npm package installed. Sign up to share your code.
Sign Up for Free