Skip to content

Conversation

therealpecus
Copy link
Contributor

This PR describes the vm.$route.redirectedFrom property that is made available if the current route is the result of a redirect.
It also updates the docs to clarify that props and meta fields are ignored for redirect route definitions.

@therealpecus
Copy link
Contributor Author

A note on CI checks: no code being tested has been changed (this is a fork from develop), but I cannot relaunch the tests. Locally, all tests run fine.

@posva
Copy link
Member

posva commented Feb 27, 2018

Hey, thanks for the PR and sorry for the delay.
I removed the note about ignoring props and meta field because I'm not sure what you're scenario you're talking about, do you mind sharing a fiddle showcasing what you mean so we can improve the docs?

@posva posva merged commit 768f6b7 into vuejs:dev Feb 27, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants