How to integrate @nuxtjs/apollo with useSanctumClient?
#448
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Continuing one of the issues I had, #447, I wanted to slowly migrate to use
@nuxtjs/apollofor the entire app.However, one of the problems is that it does not seem possible to override the
fetchoption in the client with composables (useSanctumClient) as the configuration is declared in nuxt.config.ts.I'm wondering if anyone has a solution to this, or an elegant/clean way to automatically include XSRF tokens properly that works correctly with SSR.
Thanks.
Beta Was this translation helpful? Give feedback.
All reactions