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
dmarr2y 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 User11mo ago
Message Not Public
Sign In & Join Server To View

Did you find this page helpful?