mirror of
https://github.com/nuxt/nuxt.git
synced 2024-11-14 10:04:05 +00:00
373 B
373 B
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' }
::ReadMore{link="/guide/features/app-config"}