0👍
Your event name is different while emitting and listening.
It has to be same for event bus to work.
Change your methods
in Component A like so :
methods: {
setTemplate(template) {
bus.$emit("setEmailTemplate", template);
}
}
AFTER EDIT
Without seeing more code, it would be hard to debug what problem you are facing.
I made a simple example of what you are trying. This might help you.
Working implementation attached.
Source:stackexchange.com