diff --git a/src/module.ts b/src/module.ts index 3b64acf..e4a7987 100644 --- a/src/module.ts +++ b/src/module.ts @@ -207,6 +207,7 @@ export default defineNuxtModule({ if (config.autoImport) { nuxt.options.alias['#gql'] = resolver.resolve(nuxt.options.buildDir, 'gql') + nuxt.options.alias['#gql/*'] = resolver.resolve(nuxt.options.buildDir, 'gql', '*') addTemplate({ filename: 'gql.mjs',