You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hi, I am working an application with Quasar2, which works with Vue3 , when I run the command graphql-codegen, to generate the files, it imports in the graphql.ts the types of @vue/composition-api like this: ‘import type * as VueCompositionApi from ‘@vue/composition-api’;’, but in vue3 it doesn't allow me to import @vue/composition-api because it doesn't need it anymore, however the automatic generation imports it.
The help I need is to avoid the import of this library.
Here is my file codegen.ts
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
Hi, I am working an application with Quasar2, which works with Vue3 , when I run the command graphql-codegen, to generate the files, it imports in the graphql.ts the types of @vue/composition-api like this: ‘import type * as VueCompositionApi from ‘@vue/composition-api’;’, but in vue3 it doesn't allow me to import @vue/composition-api because it doesn't need it anymore, however the automatic generation imports it.
The help I need is to avoid the import of this library.
Here is my file codegen.ts
Translated with DeepL.com (free version)
Beta Was this translation helpful? Give feedback.
All reactions