/undraw-ui

🔥一款基于vue3、 element-plus 的前端组件,主要功能有折叠,评论,锚点,搜索,聊天。你的⭐️Star ,是作者开发的动力!

Primary LanguageVueMIT LicenseMIT

Undraw UI - A Vue.js 3 UI library

🔥功能

折叠、评论、锚点、搜索

  1. 折叠

  1. 评论

  1. 搜索(input关键词动态滚动)

  2. 锚点

入门

请遵循https://undraw.gitee.io/undraw-ui/上的文档!

地址

安装

使用npm安装

npm i undraw-ui

使用

  1. 因为本组件是基于 element-plus 开发。注意v0.5.5后去除了element-plus导入,只引入需要使用的组件以及样式,不使用的组件不引入,无需引入elment-plus即可以使用; 但是如果引入elment-plus,如果版本不一致可能部分组件会出现样式问题,请注意版本兼容性。随着更新elment-plus版本稳定了样式问题基本不会出现!

  2. main.ts 中引入组件

import { createApp } from 'vue'
import App from './App.vue'

import UndrawUi from 'undraw-ui'
import 'undraw-ui/dist/style.css'

const app = createApp(App)
app.use(UndrawUi)
app.mount('#app')

开发交流

QQ群:undraw(682265529)