1.1.5 • Published 5 months ago

@mixed_matches/fanui v1.1.5

Weekly downloads
-
License
ISC
Repository
github
Last release
5 months ago

🎉 FanUI组件库 🎉

📋 特性

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

🔗 地址链接

文档地址

github地址

🌟 介绍

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

🔧 安装

npm install @mixed_matches/fan-ui
pnpm install @mixed_matches/fan-ui
yarn add @mixed_matches/fan-ui

🛠 使用

  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>
1.1.5

5 months ago

1.1.4

5 months ago

1.1.3

5 months ago

1.1.2

6 months ago

1.1.0

6 months ago

1.0.0

7 months ago