However when the login form is submitted, it occurs this error:
Uncaught (in promise) Error: No apolloClients injection found, tried to resolve 'local' clientId
Expected behaviour
ApolloClient should be resolved and queries/mutations executed normally
Reproduction
No response
Additional context
If I try to use the default ApolloClient it also fails with the same error.
Environment
Darwin
v19.6.0
3.2.3
2.2.3
npm@9.4.0
vite
apollo
,components
,css
,modules
@pinia/nuxt@0.4.7
,@nuxtjs/apollo@5.0.0-alpha.5
,@nuxtjs/tailwindcss@6.4.1
,@nuxt/image-edge@1.0.0-27954023.4cee565
,nuxt-purgecss@2.0.0
,magic-regexp/nuxt
,nuxt-lodash@2.4.1
,nuxt-typed-router@3.0.3
,@vite-pwa/nuxt@0.0.6
,nuxt-viewport@2.0.3
-
Describe the bug
I have this config at
nux.config.ts
:and this is my setup at my login page:
However when the login form is submitted, it occurs this error:
Uncaught (in promise) Error: No apolloClients injection found, tried to resolve 'local' clientId
Expected behaviour
ApolloClient should be resolved and queries/mutations executed normally
Reproduction
No response
Additional context
If I try to use the
default
ApolloClient it also fails with the same error.The whole code can be found at: https://github.com/peapescarte/plataforma
Logs