0.0.2 • Published 1 year ago

yyc-vue-ui v0.0.2

Weekly downloads
-
License
ISC
Repository
-
Last release
1 year ago

简介

该组件库是基于 vue3 + antd 实现,是对 antd 的二次封装业务组件。

使用方式

安装

// yarn
yarn add yyc-vue-ui
// npm
npm i yyc-vue-ui

项目中使用

// main.ts
import 'yyc-vue-ui/style.css' // 引入组件样式
import YycVueUi from 'yyc-vue-ui' // 引入下载后的组件
...
app.use(YycVueUi)
<y-table-filter :items="fileds" />
<script setup lang="ts">
const fileds = [
  {
    label: 'ip',
    prop: 'searchIp',
    type: 'textarea',
    defaultValue: '',
    customAttrs: {
      placeholder: '支持多个IP, 一行一个',
      allowClear: true
    }
  }
]
</script>

详细文档地址: https://flowerofsummer.github.io/components/