-
-
Notifications
You must be signed in to change notification settings - Fork 522
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
export 'onServerPrefetch' was not found in 'vue-demi' #1102
Comments
Any update on this? |
Can you please provide an update on this issue? |
Any updates anywhere on this issue yet? |
Anything on this yet? |
Updates please? |
have the same issue |
I am working with this hack for now killix@1dbb4bf |
@killix does this break prefetching? |
Should not as vue-demi doesn't export the function. |
Same problem here |
Very nice work btw but I'm having the same issue, any updates? |
Check this out, i alread tested with Vue, Vite.js and Node. Astrid-Client |
Same issue. |
Same problem here. |
same here :< |
looking forward |
Same here ✨ |
1 similar comment
Same here ✨ |
I am having the same issue |
Any updates on this? |
Same here |
same |
same thing |
Please stop posting comments saying you have the same issue. You can use the 👍 reaction on the initial post for that. I’m also a user that want to see this fixed but this won’t change anything except pissing off maintainers. Many people are getting notified and that’s just useless noise. Thank you 🙇🏻♂️ |
I have found something interesting that you can use to handle this issue :
I hope this will resolve your issue. |
I'm using like this:
|
Same problem in here |
this solved the problems for me: |
Vue 3.1.0 beta is out now with support for onServerPrefetch, see https://github.com/vuejs/vue-next/blob/master/CHANGELOG.md. If you use 3.1 beta, the issue will dissappear. |
Thanks for the heads-up, but now I'm getting the following error:
I'm currently using vite, but I might switch back to webpack if this solves the issue. Anyone else experiencing the same issue?
Edit: Seems to work fine with Webpack. So I guess I stick to Webpack until this issue in vite is resolved. |
solves the issue for me (using vite) |
Guys great news! Is missing this part: Your src/App.vue should be like this
PD: Found this on the README of the library in your-app\node_modules@quasar\quasar-app-extension-apollo\README.md |
|
It doesn't work for me. |
All you should have to do to fix this issue is to use Vue 3.1+ |
Describe the bug
@vue/apollo-composable
doesn't work with vue 3 sincevue-demi
cant resolveonServerPrefetch
. Seems it's only provided by@vue/composition-api
To Reproduce
Steps to reproduce the behavior:
graphql graphql-tag @apollo/client
as described here@vue/apollo-composable
as described hereExpected behavior
One should be able to import
onServerPrefetch
from@vue/apollo-composable
(or directly from vue?)Versions
vue: 3.0.2
@vue/apollo-composable: 4.0.0-apha.12
@apollo/client: 3.2.7
Additional context
Trying to import
onServerPrefetch
from@vue/composition-api
leads to another warning on the terminal:The text was updated successfully, but these errors were encountered: