Open
Description
What problem does this feature solve?
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 -->
Metadata
Metadata
Assignees
Labels
This issue has been already fixed on the v4 but exists in v3This issue has been already fixed on the v4 but exists in v3