fix(vue): make theme reactive

This commit is contained in:
HugoRCD
2025-04-24 16:09:16 +02:00
parent c63a6dd133
commit 505c1e502a
3 changed files with 74 additions and 1 deletions

View File

@@ -1,3 +1,6 @@
import { reactive } from 'vue'
import appConfig from '#build/app.config'
export const useAppConfig = () => appConfig
const _appConfig = reactive(appConfig)
export const useAppConfig = () => _appConfig