馃摚 Just Released! Our official workshop to level up from Nuxt 2 to Nuxt 3.

Register now

updateAppConfig

Updates app config using deep assignment. Existing (nested) properties will be preserved.

Usage:

const appConfig = useAppConfig() // { foo: 'bar'聽}
const newAppConfig = { foo: 'baz' }
updateAppConfig(newAppConfig)
console.log(appConfig) // { foo: 'baz' }