nuxt-modules / apollo

Nuxt.js module to use Vue-Apollo. The Apollo integration for GraphQL.
https://apollo.nuxtjs.org
MIT License
929 stars 195 forks source link

Apollo not working on vue 3.0.0-rc.13 #449

Closed drucinsky closed 1 year ago

drucinsky commented 1 year ago

Hello i install nuxt/apollo and i add modules to nuxt.config.ts but when i configure apollo i have this error. image How can fix it?

Diizzayy commented 1 year ago

@drucinsky I suspect that may just be due to the pertinent types for the module not being generated as yet. Are there errors logged to the console when you start the development server?

jowax commented 1 year ago

I had the same problem and got it working by first generating the types by starting the dev server and then restarting the typescript language server.

image

drucinsky commented 1 year ago

Restart TS server working, thanks!