Skip to content
/ feiUI Public

feiUi组件库,是一个仿elenment-plus的组件库,以其为基础进行进一步的扩展

License

Notifications You must be signed in to change notification settings

ourcx/feiUI

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

71 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

FeiUI

仿elementUI的项目,添加了自己的颜色系统和其他自己制作的组件

按需导入

本项目使用了babel-plugin-import,因此按需导入组件时,请使用如下方式:

  1. 安装必要依赖
npm install unplugin-vue-components -D
  1. 配置Vite 在vite.config.ts中添加配置:
import { defineConfig } from 'vite'
import vue from '@vitejs/plugin-vue'
import Components from 'unplugin-vue-components/vite'
import { YourLibraryResolver } from 'your-library/resolvers'

export default defineConfig({
  plugins: [
    vue(),
    Components({
      resolvers: [YourLibraryResolver()],
    }),
  ],
})
  1. 直接使用组件 在Vue组件中直接使用,无需手动导入:
<template>
  <Button>点击我</Button>
  <Alert type="success">操作成功!</Alert>
  <Card title="卡片标题">卡片内容</Card>
</template>

<script setup>
// 不需要手动导入Button、Alert、Card组件
// unplugin-vue-components会自动处理
</script>
  1. FeiUI组件文档 访问 https://feiui.com/docs/introduction.html 获取更多信息。 本项目docs文件夹下面是本组件库的文档

  2. 贡献指南

  3. Fork 本仓库

  4. 创建一个分支

  5. 提交你的修改

  6. 创建一个 Pull Request

  7. 联系我们

  8. 贡献名单

  9. ourcx

About

feiUi组件库,是一个仿elenment-plus的组件库,以其为基础进行进一步的扩展

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors