UNPKG

@mundoit-lib/plugin-vue-event

Version:

Vue 3 plugin to handle global events between components, inspired by vue-events. This plugin provides a simple and efficient event bus system, allowing to emit, listen and unregister events in an intuitive way. Compatible with Vue 2 and Vue 3.

3 lines 171 B
export { eventBus, useEventBus } from './eventBus'; export { default as eventsPlugin } from './plugin'; export type { EventBusInstance, EventBusEvents } from './eventBus';