Skip to content

mixdmatches/FanUI

Repository files navigation

🎉 FanUI组件库 🎉

📋 特性

  • 🌈 支持按需引入,减小打包体积
  • 🛠 支持Vue3
  • 📦 支持TypeScript
  • 📖 文档查看
  • 📦 开箱即用

🔗 地址链接

文档地址

github地址

npm地址

🌟 介绍

FanUI是一款基于Vue3的UI组件库,提供了丰富的组件和工具,帮助开发者快速构建用户界面。

🔧 安装

npm install @mixed_matches/fanui
pnpm install @mixed_matches/fanui
yarn add @mixed_matches/fanui

🛠 使用

  1. 📦 全部导入
import { createApp } from 'vue'
import App from './App.vue'

// 引入样式文件
import '@mixed_matches/fanui/es/style.css'
import FanUI from '@mixed_matches/fanui'

const app = createApp(App)
app.use(FanUI)
app.mount('#app')
  1. 📥 按需导入

注意:按需导入也需要在main.ts中引入样式文件

<script setup lang="ts">
import { FButton } from '@mixed_matches/fanui'
</script>

<template>
  <f-button>按钮</f-button>
</template>

🔗 联系我

About

组件演示文档为下方蓝色链接

Topics

Resources

Stars

Watchers

Forks

Packages

No packages published

Contributors 2

  •  
  •