Skip to content

"Fetching Before Navigation" example does not work #1502

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

Closed
philipithomas opened this issue Jun 10, 2017 · 1 comment
Closed

"Fetching Before Navigation" example does not work #1502

philipithomas opened this issue Jun 10, 2017 · 1 comment

Comments

@philipithomas
Copy link

Version

2.5.3

Reproduction link

#1144

Steps to reproduce

The previously closed issue #1144 was opened because the documentation is incorrect. The message from maintainers on that issue states that the method used on the "Fetching Before Navigation" example for the vue-router docs does not work: https://router.vuejs.org/en/advanced/data-fetching.html

What is expected?

this.post to be set

What is actually happening?

this.post is null (see issue #1144)

@posva
Copy link
Member

posva commented Jun 10, 2017

The example does work: http://jsfiddle.net/onve61xt/
But I understand this is confusing because you shouldn't see an error. See #1499
I never said the example doesn't work....


Next time, make sure to include a reproduction, please

@posva posva closed this as completed Jun 10, 2017
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

No branches or pull requests

2 participants