nuxt-modules / apollo

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

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

Closed drucinsky closed 2 years ago

drucinsky commented 2 years 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 2 years 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 2 years 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 2 years ago

Restart TS server working, thanks!