beforeRouteEnter next(vm => ()) callback not firing

next callback in beforeRouteEnter is not firing.

Simple example:

beforeRouteEnter(to, from, next) {
    next(vm => {

Also tried with console.log, changing component data, etc.

This should be fixed in Ionic Vue v5.6.15: fix(vue): router guards are now fired correctly when written in a com… · ionic-team/ionic-framework@3c44222 · GitHub

1 Like