1.0.0 • Published 3 years ago
skyui-test v1.0.0
SKYUI
一个基于 Vue 的 UI 组件
按钮
<sk-button></sk-button>
参数类型说明
参数 | 类型 | 描述 |
---|---|---|
icon | string | 按钮图标,按钮支持插槽,如果没有你喜欢的图标。 可以使用插槽自己加 |
iconPosition | 'left' || 'right' | 图标位置,默认在左边 |
loading | Boolean | 加载中状态 |
事件说明
事件 | 说明 |
---|---|
@click | 点击事件 |
@click | 点击事件 |
作者: 刘圣凯
Build Setup
# install dependencies
npm install
# serve with hot reload at localhost:8080
npm run dev
# build for production with minification
npm run build
For detailed explanation on how things work, consult the docs for vue-loader.