Firing Vue.JS Events into Outer Space or How To Make My Legacy JS Code React on Vue JS Events

Sometimes (or even often) you'll want to emit your Vue app events outside of the scope of the app. For example, it may be useful when you want some legacy jQuery script to be notified about event happened in Vue app.

I found the following pattern to be the easiest solution: it's ...

Read now