0.0.2 • Published 3 years ago
button_jiang v0.0.2
button_jiang
一个按钮组件库
使用教程
# 安装包
npm install button_jiang
# 在main.js中引用
import jiangButton from 'button_jiang'
Vue.use(jiangButton)
# 组件中使用按钮
<jiang-button @click="myClick" type="primary"/>
属性 | 描述 | 默认值 | 可选值 | 参数 |
---|---|---|---|---|
@click | 按钮点击事件 | $event | ||
type | 按钮类型 | primary | success(成功按钮),warring(危险按钮) |