You can create a js file, for example eventBus.js, and simply export the vue instance:
import Vue from 'vue'
const bus = new Vue()
export default bus
then you can import the event bus into a .vue file
import bus from 'path/to/eventBus'
...
bus.$on('foo', ...)
Update my answer from the discussion in the comments:
Since the event name is just a string, you can add a prefix / namespace to the event, for example bus.$emit('domain.foo')or bus.$emit('domain/foo').
If you feel that your application is becoming more complex, just go to vuex.
source
share