Vue 3 优化
基于最新的 Vue 3 Composition API 构建,提供卓越的性能和开发体验
<template>
<VuePivottableUi
:data="[
{ color: 'blue', shape: 'circle' },
{ color: 'red', shape: 'triangle' }
]"
:rows="['color']"
:cols="['shape']"
/>
</template>
<script setup>
import { VuePivottableUi } from 'vue-pivottable'
import 'vue-pivottable/dist/vue-pivottable.css'
</script>
npm install vue-pivottable
pnpm add vue-pivottable
yarn add vue-pivottable
基于最新的 Vue 3 Composition API 构建,最大化响应式和性能。
用户友好的拖拽界面,轻松进行数据探索。
支持表格、图表(Plotly 集成)等多种显示格式。
大型数据集虚拟滚动(lazy table renderer),提供流畅体验。
自定义聚合器、渲染器和样式,完全可定制。
完整的 TypeScript 支持,安全高效的开发。