diff --git a/knip.ts b/knip.ts index f6a668b7c..a36895280 100644 --- a/knip.ts +++ b/knip.ts @@ -36,6 +36,7 @@ const config: KnipConfig = { /** Needs to be explicitly installed, even though it is not imported, to avoid type errors. */ 'unplugin-vue-router', 'vite-plugin-pwa', + '@vueuse/shared', /** Some components import types from here, but installing it directly could lead to a version mismatch */ 'vue-router', diff --git a/nuxt.config.ts b/nuxt.config.ts index 3ebf03fc5..e25a9b79f 100644 --- a/nuxt.config.ts +++ b/nuxt.config.ts @@ -255,6 +255,7 @@ export default defineNuxtConfig({ include: [ '@vueuse/core', '@vueuse/integrations/useFocusTrap', + '@vueuse/integrations/useFocusTrap/component', 'vue-data-ui/vue-ui-sparkline', 'vue-data-ui/vue-ui-xy', 'virtua/vue', diff --git a/package.json b/package.json index 5c3369f86..a59d9e063 100644 --- a/package.json +++ b/package.json @@ -77,6 +77,7 @@ "@vueuse/integrations": "14.2.0", "@vueuse/nuxt": "14.2.0", "@vueuse/router": "^14.2.0", + "@vueuse/shared": "14.2.0", "defu": "6.1.4", "fast-npm-meta": "1.0.0", "focus-trap": "^7.8.0", diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml index d9bc40c43..a1efc1d5b 100644 --- a/pnpm-lock.yaml +++ b/pnpm-lock.yaml @@ -119,6 +119,9 @@ importers: '@vueuse/router': specifier: ^14.2.0 version: 14.2.0(vue-router@4.6.4(vue@3.5.27(typescript@5.9.3)))(vue@3.5.27(typescript@5.9.3)) + '@vueuse/shared': + specifier: 14.2.0 + version: 14.2.0(vue@3.5.27(typescript@5.9.3)) defu: specifier: 6.1.4 version: 6.1.4