In Vue, custom events emitted from the script section of a SFC file, do not propagate through the components virtual dom. They will reach their direct parent only. Wouldn't it be nice if these events could bubble up and be freely listened for by parent components?
With this Vue 3 plugin you can do exactly this in a easy and fast way.
Infact it replicates the DOM events bubble, but applied to custom events in Vue Components, including sending custom data, stopPropagation and once functions.
And actually you can do much more.
This plugin offers a "listen all events" keyword, a transformEvent function to call inside handlers and a Hierarchical Events Structure.