I have a parent where I can dynamically add child components into.
When child component is added in mount I register a listener for an event
EventBus.$on
another solution without creating component method
mounted(){ const listener = () => { // heavy logic }; EventBus.$on('content-type-saving', listener); this.$once("hook:beforeDestroy", () => { EventBus.$off('content-type-saving', listener); }); }