Skip to content

Update redirect-and-alias.md #1588

New issue

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

Merged
merged 3 commits into from
Oct 8, 2017
Merged

Update redirect-and-alias.md #1588

merged 3 commits into from
Oct 8, 2017

Conversation

chlab
Copy link
Contributor

@chlab chlab commented Jul 12, 2017

Added note about navigation guards not being applied on redirects.

Background: I just tried doing a conditional redirect where I rely on user data being loaded into the vuex store by the route guards. But since they are only applied after the redirect (on the actual route that you are being redirected to), the data was never there.

Added note about navigation guards not being applied on redirects. 

Background: I just tried doing a conditional redirect where I rely on user data being loaded into the vuex store by the route guards. But since they are only applied after the redirect (on the actual route that you are being redirected to), the data was never there.
@posva posva added the docs label Jul 18, 2017
@posva posva merged commit 8f10178 into vuejs:dev Oct 8, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants