Skip to content

Commit f6b423d

Browse files
committed
fix: resolve nuxt imports
1 parent 02a2d85 commit f6b423d

File tree

2 files changed

+2
-0
lines changed

2 files changed

+2
-0
lines changed

module/src/runtime/composables/index.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
import type { Ref } from 'vue'
22
import type { GqlClients } from '#build/gql'
33
import { getSdk as gqlSdk } from '#build/gql-sdk'
4+
import { useNuxtApp, useRuntimeConfig } from '#imports'
45
import type { GqlState, GqlConfig } from '../../types'
56
import { deepmerge } from '../utils'
67

module/src/runtime/plugin.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
import { defu } from 'defu'
22
import type { Ref } from 'vue'
33
import { GraphQLClient } from 'graphql-request'
4+
import { ref, useNuxtApp, defineNuxtPlugin, useRuntimeConfig, useRequestHeaders } from '#imports'
45
import type { GqlState, GqlConfig } from '../types'
56
import { deepmerge } from './utils'
67

0 commit comments

Comments
 (0)