From c0ce7b2944e099600bcfb1541b42b9398821daa1 Mon Sep 17 00:00:00 2001 From: Daniel Roe Date: Tue, 31 May 2022 17:37:25 +0200 Subject: [PATCH] fix: add missing imports in client-plugin --- src/runtime/plugin.client.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/runtime/plugin.client.ts b/src/runtime/plugin.client.ts index 7037a869..4a90aaea 100644 --- a/src/runtime/plugin.client.ts +++ b/src/runtime/plugin.client.ts @@ -1,7 +1,7 @@ -import { reactive, watch } from 'vue' +import { computed, reactive, watch } from 'vue' import type { ColorModeInstance } from './types' -import { defineNuxtPlugin, isVue2, isVue3, useRouter, useState } from '#imports' +import { defineNuxtPlugin, isVue2, isVue3, useRouter, useHead, useState } from '#imports' import { globalName, storageKey, dataValue } from '#color-mode-options' const helper = window[globalName] as unknown as {