element-plus-message

Message, MessageBox and Notification services extracted from Element Plus for Vue 3
820 27,827
Install
npm install element-plus-message
Latest Version:0.0.0-dev.1
Vue:3
License:MIT
Last Updated:Oct 24, 2026
Links: GitHub  ·  npm
Maintainer: terry13143

element-plus-message

element-plus-message 是从 Element Plus 中裁剪出来的 Vue 3 消息能力包,只保留以下三项服务及其所需样式与内部依赖:

  • ElMessage
  • ElMessageBox
  • ElNotification

安装

pnpm add element-plus-message

使用

import { createApp } from 'vue'
import ElementPlusMessage from 'element-plus-message'
import 'element-plus-message/dist/index.css'

import App from './App.vue'

createApp(App).use(ElementPlusMessage).mount('#app')
import { ElMessage, ElMessageBox, ElNotification } from 'element-plus-message'

ElMessage.success('Saved')

await ElMessageBox.confirm('Delete this record?', 'Confirm')

ElNotification({
  title: 'Build finished',
  message: 'The package is ready to publish.',
  type: 'success',
})

包含内容

  • Message / MessageBox / Notification 源码
  • 对应 theme-chalk 样式
  • 三者运行所需的最小内部基础组件和 hooks

不包含内容

  • Element Plus 其他 UI 组件
  • 文档站、playground、SSR 测试与其相关脚本
  • 非消息能力的公开导出

构建

pnpm install
pnpm build

许可证

MIT

Related Packages

@codedungeon/vue-messenger

Vue Messenger provides an expressive suite of features and customization

1,031 0
mosha-vue-toastify

A light weight and fun Vue 3 toast or notification or snack bar or however you w...

231,638 223
@composy/notice-center-core

消息中心 - 统一消息聚合与管理面板

0
js-flash

JavaScript package for flash messages.

1,160 4
vue-sileo

An opinionated, physics-based toast notification library for Vue.

3,464 1

Version History

Pre-releases (1)
Version Released Vue License
0.0.0-dev.1 ^3.3.0 MIT