We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
being able to return a value in a navigaiton guard:
router.beforeEach(to => { if (!user) return { name: 'login', query: { redirectTo: to.fullPath } } }) ### What does the proposed API look like? Like v4. X <!-- generated by vue-issues. DO NOT REMOVE -->
The text was updated successfully, but these errors were encountered:
Some features cannot be backported without rewriting big parts of the router. I tried porting back as much as I could in the limited time I have.
If anybody wants to backport the navigation guard return value, that would be nice
Sorry, something went wrong.
No branches or pull requests
What problem does this feature solve?
being able to return a value in a navigaiton guard:
The text was updated successfully, but these errors were encountered: