Open Eazash opened 10 months ago
This PR adds the ability to selectively disable auto-imports for the gql function or vue-apollo composables.
gql
export default defineNuxtConfig({ // ... apollo: { autoImports: { gql: false, 'vue-apollo': true }, })
The motivation is to allow for custom autoimports for the gql function from other sources. One particular use case is when looking to add an autoimport from the autogenerated tag function provided by graphql-codegen that is typesafe
This PR adds the ability to selectively disable auto-imports for the
gql
function or vue-apollo composables.The motivation is to allow for custom autoimports for the
gql
function from other sources. One particular use case is when looking to add an autoimport from the autogenerated tag function provided by graphql-codegen that is typesafe