diff --git a/.changeset/fuzzy-houses-applaud.md b/.changeset/fuzzy-houses-applaud.md new file mode 100644 index 0000000..cbe3223 --- /dev/null +++ b/.changeset/fuzzy-houses-applaud.md @@ -0,0 +1,5 @@ +--- +"@bicou/nuxt-urql": patch +--- + +add missing imports from nuxt app to plugin diff --git a/src/runtime/plugin.ts b/src/runtime/plugin.ts index 1226dab..cc9b416 100644 --- a/src/runtime/plugin.ts +++ b/src/runtime/plugin.ts @@ -1,5 +1,6 @@ import { type Client, createClient, type SSRData, ssrExchange } from "@urql/core"; import { ref } from "vue"; +import { defineNuxtPlugin, useRuntimeConfig, useState } from "#app"; import NuxtUrqlClient from "#urql-client"; export default defineNuxtPlugin(async (nuxtApp) => {