wjian2302-ui
v1.0.2
Published
## 安装
Downloads
7
Readme
wjian-ui
安装
npm install wjian2302-ui -S
使用
import { createApp } from 'vue'
import App from './App.vue'
let app = createApp(App)
//引入包和样式,使用一下 注册为全局组件
import Wjian2302Ui from 'wjian2302-ui'
import 'wjian2302-ui/dist/style.css'
app.use(WjianUi)
app.mount('#app')
用法
1.1 按钮
实现效果:
功能参数:
| 参数名 | 参数描述 | 参数类型 | 默认值 | | -------- | ----------------------------------------------------- | -------- | ------- | | type | 按钮类型(primary / success / warning / danger / info) | string | default | | plain | 是否是朴素按钮 | boolean | false | | round | 是否是圆角按钮 | boolean | false | | circle | 是否是圆形按钮 | boolean | false | | disabled | 是否禁用按钮 | boolean | false | | icon | 图标类名 | string | 无 |
事件: