ttzshawn/vue-phaser-starter

window.game.destroyed() doesn't exists

Closed this issue · 1 comments

in
Home.vue
there is an error exiting the route

  destroyed() {
    window.game.destroyed()
  },

replace with

  destroyed() {
     window.game.destroy()
  },

and everything will be fine

Thanks!