Nuxt UI Pro v1.0 is out with 50+ Vue components.

updateAppConfig

Update the App Config at runtime.

Updates the 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' }
Read more in Docs > Guide > Directory Structure > App Config.