You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I just spent an embarrassingly large amount of time trying to debug why nothing worked during my migration from 1.0.28. Turns out that the added requirement of the router.beforeEach() methods having to resolve the hook manually with a call to next() was the culprit.
As far as I can see, there is nothing in this project that alerts about this. Now, I lack the vue/js savvy to add that myself, but I suppose this could be of help to others who were using the beforeEach() hooks in 1.0.
Cheers for a fantastic tool anyway!
The text was updated successfully, but these errors were encountered:
Thanks for reporting this (and sorry to hear about the time you lost)! 😞 What would you think about the warning below?
1. Add next as the 3rd argument of the router.beforeEach hook, then call this function continue resolving the route
Line 10: ./path/to/file.js
Reason: The router.beforeEach hook has been updated to accept 3 arguments: to, from, and next
More info: http://vuejs.org/guide/migration-vue-router.html#router-beforeEach
I just spent an embarrassingly large amount of time trying to debug why nothing worked during my migration from 1.0.28. Turns out that the added requirement of the
router.beforeEach()
methods having to resolve the hook manually with a call tonext()
was the culprit.As far as I can see, there is nothing in this project that alerts about this. Now, I lack the vue/js savvy to add that myself, but I suppose this could be of help to others who were using the
beforeEach()
hooks in 1.0.Cheers for a fantastic tool anyway!
The text was updated successfully, but these errors were encountered: