From 12303a87be62dae84ef774e3a9795deb0ac90cc7 Mon Sep 17 00:00:00 2001 From: Benjamin Canac Date: Mon, 12 May 2025 17:11:19 +0200 Subject: [PATCH] fix(inertia): make `useAppConfig` reactive Follow-up https://github.com/nuxt/ui/commit/869c0708bd351c7be44e5e430c348b19dd316db9 --- src/runtime/inertia/stubs.ts | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/src/runtime/inertia/stubs.ts b/src/runtime/inertia/stubs.ts index d474959b..0091d322 100644 --- a/src/runtime/inertia/stubs.ts +++ b/src/runtime/inertia/stubs.ts @@ -9,6 +9,7 @@ import { usePage } from '@inertiajs/vue3' export { useHead } from '@unhead/vue' +export { useAppConfig } from '../vue/composables/useAppConfig' export { defineShortcuts } from '../composables/defineShortcuts' export { defineLocale } from '../composables/defineLocale' export { useLocale } from '../composables/useLocale' @@ -41,8 +42,6 @@ export const useColorMode = () => { } } -export const useAppConfig = () => appConfig - export const useCookie = ( _name: string, _options: Record = {}