If you're working on a Nuxt 3 project, and trying to get Apollo up and running, only to find that the nuxt module isn't updated yet for v3, then fo...
For further actions, you may consider blocking this person and/or reporting abuse
Hey! Thank you for this post!
Awesome post, exactly what I was looking for!
Unfortunately when installing the dependencies it seems like @vue/apollo-composables has not been installed and installing it manually gives me dependency conflicts :(
Try moving
@vue/apollo-composable
andvue-apollo
todevDependencies
me too...
I always get error "networkError: FetchError: request to localhost:5001/api/data failed, reason: self signed certificate as stated at stackoverflow.com/questions/758840...
anyone know how to fix it ?
Thank you for this post, that's also exactly what I'm looking for.
However, like the others below, I get an error with @vue/apollo-composables:
Could you please help?
Here are my dependencies:
Try moving
@vue/apollo-composable
andvue-apollo
todevDependencies
For those who get errors when installing @vue/apollo-composables, that talks about having vue@2.6 conflict or something like that, you could try adding this to your package.json :
"Overrides" works with npm, with yarn I think it's "resolutions"
Thanks for the post. It worked great for dev but when I build and start the app I get errors when attempting to load a page.
`Directory import '.output\server\node_modules\@apollo\client\core' is not supported resolving ES modules imported
Did you mean to import @apollo/client/core/index.js?`
thanks a lot. But how can I provide multiple client endpoints.
vue4 setup provide:
provide(ApolloClients, {
default: apolloClient,
clientA: apolloClientA,
clientB: apolloClientB,
})
how to get nuxt to provide same?
nuxtApp.vueApp.provide(DefaultApolloClient, {
default: apolloClient => not working
});
Thanks for the post, but cannot get this to work. When adding @apollo/client to transpile, i get the following error:
external_graphql_tag_default.a is not a function
Any help would be swell, trying to migrate my nuxt 2 to bridge and it isn't going well :D
This is for nuxt 3, not sure how this measures up with bridge