- 🌈 支持按需引入,减小打包体积
- 🛠 支持Vue3
- 📦 支持TypeScript
- 📖 文档查看
- 📦 开箱即用
FanUI是一款基于Vue3的UI组件库,提供了丰富的组件和工具,帮助开发者快速构建用户界面。
npm install @mixed_matches/fanuipnpm install @mixed_matches/fanuiyarn add @mixed_matches/fanui- 📦 全部导入
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')- 📥 按需导入
注意:按需导入也需要在main.ts中引入样式文件
<script setup lang="ts">
import { FButton } from '@mixed_matches/fanui'
</script>
<template>
<f-button>按钮</f-button>
</template>- 邮箱:1919600547@qq.com
- QQ:1919600547