I have the following setup in the App.vue:
<top-nav></top-nav>
<main>
<router-view v-bind="{isOnline}"></router-view>
</main>
And in the top-nav's js I have the goBack method:
methods: {
goBack() {
this.$router.go(-1);
},
...
},
This works just fine in Chrome and Internet Explorer, not Safari though. When debugging and setting a breakpoint on that .go(-1)-line it hits the breakpoint and everything looks fine (nothing undefined). The navigation call isn't done though.
This doesn't work on mobile nor desktop. I thought Safari had support for the History API?