N
Nuxt11mo ago
ILLuMiNaTe

Is it possible to dynamically change the runtimeConfig?

For example something like this:
const config = useRuntimeConfig()
config.gtag.id = 'GT4313'
const config = useRuntimeConfig()
config.gtag.id = 'GT4313'
2 Replies
dmarr
dmarr11mo ago
I know you can alter the runtime config via a module. I haven't tried it using the composable, but I have a feeling you can't
Unknown User
Unknown User4mo ago
Message Not Public
Sign In & Join Server To View