-
-
Notifications
You must be signed in to change notification settings - Fork 5k
Open
Labels
feature requestfixed on 4.xThis issue has been already fixed on the v4 but exists in v3This issue has been already fixed on the v4 but exists in v3
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
feature requestfixed on 4.xThis issue has been already fixed on the v4 but exists in v3This issue has been already fixed on the v4 but exists in v3