apollo
apollo copied to clipboard
Allow adding additional ApolloLinks
Your use case
I want to add some additional ApolloLinks to the client.
The solution you'd like
nuxt.config.ts
export default defineNuxtConfig({
modules: ['@nuxtjs/apollo'],
apollo: {
clients: {
default: {
httpEndpoint: 'https://api.spacex.land/graphql',
links: [ // ApolloLink instances]
},
},
},
})
Possible alternatives
No response
Additional information
No response
+1
+1