vue3-xm
v0.1.8
Published
Modern Vue 3 Component Library
Downloads
19
Maintainers
Readme
XM Components
Modern Vue 3 Component Library
Features
- 🎯 Drag Chart - Interactive time range selection with ECharts integration
- 🚀 Vue Simple Swiper - Ultra-lightweight swiper component with touch gestures
- 📦 TypeScript - Full TypeScript support with complete type definitions
- ⚡ Performance - Optimized and tree-shakable
- 🎨 Customizable - Flexible theming system
- 📱 Mobile Friendly - Responsive design and touch interactions
Installation
npm install vue3-xm
# or
yarn add vue3-xm
# or
pnpm add vue3-xmUsage
Global Registration
import { createApp } from "vue";
import XMComponents from "@xm/components";
import "@xm/components/style.css";
const app = createApp(App);
app.use(XMComponents);
app.mount("#app");Individual Import
<script setup>
import { DragChart, SwiperSimple } from "@xm/components";
</script>
<template>
<DragChart />
<SwiperSimple />
</template>Components
Drag Chart
Interactive time range selection chart component.
<template>
<DragChart
:time-range="timeRange"
:active-time="activeTime"
@update:activeTime="handleUpdate"
/>
</template>Vue Simple Swiper
Lightweight swiper component.
<template>
<SwiperSimple :img-list="images" :auto-play="true" :infinite="true" />
</template>Documentation
Visit our documentation site for detailed guides and examples.
License
MIT License
分享: https://dokumen.pub/thiaoouba-prophecy.html
