[Phaser 3 - WIP] Breakout done in Phaser + Vue

I always thought that implementing game UI components as canvas elements in Phaser is pretty cumbersome, since we already have HTML/CSS ready to use in the browser. As a proof of concept that you can separate these concerns, I made a Phaser game that is integrated into a Vue application.
The game screen is done in Phaser, while the UI elements (mostly a sidebar) are done in HTML/CSS. Sharing data / game state between the two frameworks was a little tricky. In the end I’ve done it by sharing a Vuex store instance, which acts as a event listener/emitter that can also hold state.