Skip to content

Change router to use onBeforeRouteUpdate instead of watch()

Jdrewniak requested to merge router-use-beforeRouteUpdate into main

The watch() method in GameView.vue wasn't working when the route was changed in a subcomponent, so switched to onBeforeRouteUpdate instead. Also changes the router to use route.push() instead of route.replace() in PageContent.vue

Merge request reports