I’m fairly new to Vue, so hopefully I’m asking this the correct way.
I want to emit an event and have a different component (NOT the parent) listen for that emit and do something. I know this was possible with Vue 2 with $on, but not possible in Vue 3.
I’ve tried reading Vue 3 docs, but they only talk about parent->child and child->parent not child->child. I also looked in mitt https://github.com/developit/mitt, but that doesn’t seem to work in Ionic Vue.
Has anybody run into this with Ionic Vue and know a solution?
2 posts - 2 participants