Hey there, I guess I found a bug on Nuxt RC4 related with page transition as a function.
I thought was something related with my project but I reproduced the same glitch here. Try to navigate to about and go to another page...
IF a page have transition fn inside, when you try to leave NUXT stop to work.
transition(go, from) {
console.log(go);
console.log('');
console.log(from);
},


Regards,
Hi. Thanks for the report. I've pushed a fix, however, this bug should not happen in normal conditions as transition is expected to return an object! So workaround for now until next release is:
transition(go, from) {
console.log(go);
console.log('');
console.log(from);
return {}
},
This thread has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs.
Most helpful comment
Hi. Thanks for the report. I've pushed a fix, however, this bug should not happen in normal conditions as transition is expected to return an object! So workaround for now until next release is: