-
Notifications
You must be signed in to change notification settings - Fork 4.7k
serverPrefetch not called in dev #1458
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
Comments
Actually, I'm seeing that even if the method is called during the build, the |
|
@ulivz You should not have read my previous messages, as you would know that it works. Moreover, sorry to tell you that but actually vuepress is running |
Also sorry to tell you: ref: https://ssr.vuejs.org/guide/data.html#logic-collocation-with-components |
Yeah, I know that, this is server prefetching 🤷♂️ . I'm sorry but I totally don't understand what's going on here: firstly the wrong version response, and now this screenshot. Am I missing something? I'm sorry if I did or wrote something that bothered you. 🤔 Here what I'm trying to do is to make some calls only on server side, and not client side. It seems to work with build phase, but not dev one. |
Bug report
Version
1.0.0-alpha.44
Steps to reproduce
I have a
serverPrefetch
method in a component.When building dist, the method is properly called and the component work.
When using dev server, the method seems to be not called.
Thanks.
Matt'
The text was updated successfully, but these errors were encountered: