mirror of
https://github.com/nuxt/nuxt.git
synced 2024-12-04 19:37:18 +00:00
404 B
404 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="/docs/guide/directory-structure/app-config"}