0.0.24 • Published 9 months ago
@feutopia/vue-ui v0.0.24
Vue UI 组件库
中文 | English
一个现代化的 Vue 3 UI 组件库,支持 TypeScript。
特性
- 🚀 使用 Vue 3 Composition API
- 💪 基于 TypeScript 开发
- 📦 支持 Tree-shaking
- 🔧 简单易用
- ⚡️ 轻量且高性能
- 🧪 完善的测试覆盖
- 📚 详尽的文档说明
安装
pnpm add @feutopia/vue-ui使用
虚拟滚动组件
<script setup lang="ts">
import { InfiniteList } from "@feutopia/vue-ui";
const items = Array.from({ length: 1000 }, (_, index) => ({
uid: index,
value: `项目 ${index + 1}`,
}));
</script>
<template>
<InfiniteList :items="items" :itemSize="50">
<template #default="{ item }">
<div>{{ item.value }}</div>
</template>
<template #extra>
<div>这里是额外内容</div>
</template>
</InfiniteList>
</template>Tabs 组件
<script setup lang="ts">
import { Tabs, TabPane } from "@feutopia/vue-ui";
</script>
<template>
<Tabs>
<TabPane name="1" label="Tab 1">Content of tab 1</TabPane>
<TabPane name="2" label="Tab 2">Content of tab 2</TabPane>
</Tabs>
</template>0.0.24
9 months ago
0.0.23
9 months ago
0.0.22
9 months ago
0.0.21
9 months ago
0.0.20
11 months ago
0.0.19
11 months ago
0.0.18
11 months ago
0.0.17
11 months ago
0.0.16
11 months ago
0.0.15
11 months ago
0.0.14
11 months ago
0.0.13
11 months ago
0.0.12
11 months ago
0.0.11
12 months ago
0.0.8
12 months ago
0.0.7
12 months ago
0.0.6
12 months ago
0.0.5
12 months ago
0.0.3
12 months ago
0.0.2
12 months ago
0.0.1
12 months ago