Skip to content

Licenseโ€ƒGitHub starsโ€ƒnpm versionโ€ƒnpm

โ€ƒ โ€ƒ โ€ƒ
โ€ƒ

๐Ÿš€ Element-Plus-X โ€‹

An out-of-the-box enterprise-level AI component library (based on Vue 3 + Element-Plus)

Resource Type
Link
Documentation๐Ÿ“– Development Documentation
Online Demo๐Ÿ‘๏ธ Online Preview
Code Repository๐Ÿ™ GitHub
NPM Package๐Ÿ“ฆ npm
Issue Feedback๐Ÿ› Submit a Bug
Community๐Ÿ’ Discussion Group

๐Ÿ› ๏ธ Core Features โ€‹

  • โœจ Enterprise-level AI Components: Pre-built scenario-based components such as chatbots and voice interaction.
  • ๐Ÿš€ Zero-configuration Integration: Based on the Element-Plus design system, ready to use right out of the box.
  • ๐Ÿ“ฆ On-demand Loading: Provides Tree Shaking optimization.

๐Ÿ”Ž Installation โ€‹

bash
# NPM
npm install vue-element-plus-x

# PNPM (Recommended)
pnpm install vue-element-plus-x

# Yarn
yarn install vue-element-plus-x

๐Ÿ“š Usage Examples โ€‹

  1. On-demand Import
vue
<script>
import { BubbleList, Sender } from 'vue-element-plus-x'
const list = [
  {
    content: 'Hello, Element Plus X',
    role: 'user',
  },
]
</script>

<template>
  <div style="display: flex; flex-direction: column; height: 230px; justify-content: space-between;">
    <BubbleList :list="list" />
    <Sender />
  </div>
</template>
  1. Global Import
ts
// main.ts
import { createApp } from 'vue'
import ElementPlusX from 'vue-element-plus-x'
import App from './App.vue'

const app = createApp(App)
// Globally import using app.use()
app.use(ElementPlusX)
app.mount('#app')
  1. CDN Import
html
<!-- This method is still under testing -->
<!-- CDN Import -->
<script src="https://unpkg.com/vue-element-plus-x@1.0.81/dist/umd/index.js"></script>

๐ŸŒŸ Implemented Components and Hooks โ€‹

Component NameDescriptionDocumentation Link
TypewriterTyping animation component๐Ÿ“„ Docs
BubbleBubble message component (extended)๐Ÿ“„ Docs
BubbleListBubble message list (extended)๐Ÿ“„ Docs
WelcomeWelcome component๐Ÿ“„ Docs
SenderSmart input (with voice interactionใ€Built in instruction operation)๐Ÿ“„ Docs
MentionSenderInstruction input box (mention list)๐Ÿ“„ Docs
ThinkingThinking state component (extended)๐Ÿ“„ Docs
ThoughtChainThought chain component๐Ÿ“„ Docs
useRecordBrowser built-in speech recognition hooks๐Ÿ“„ Docs
useXStreamStreaming API hooks๐Ÿ“„ Docs
useSend & XRequestSplit streaming hooks (extended)๐Ÿ“„ Docs

๐ŸŽฏ Development Plan (Updated Weekly) โ€‹

๐ŸŽ€ We will collect everyone's encountered problems and demand scenarios in various aspects such as issues and communication groups, and develop short-term and long-term development plans. For more details, please move on ๐Ÿ‘‰ Development Plan

๐Ÿค Contribute โ€‹

  1. Fork the repository โ†’ 2. Create a Feature branch โ†’ 3. Submit a Pull Request

Details can be moved ๐Ÿ‘‰ Development Guide

We welcome:

  • ๐Ÿ› Bug fixes
  • ๐Ÿ’ก Proposals for new features
  • ๐Ÿ“ Documentation improvements
  • ๐ŸŽจ Style optimizations

๐Ÿ‘ฅ Community Support โ€‹

WeChat communication group

Join the WeChat communication group to get the latest news and technical support

If the group link expires, scan the author's QR code:

Author's WeChat

ๆ›ดๆ–ฐๆ—ถ้—ด: