- CLAUDE.md 운영 규칙 - wiki/ 정리된 지식 페이지 (Nuxt + Claude Code) - raw/ 원본 자료 - reference/ Nuxt 4.x 공식 문서 Co-authored-by: Cursor <cursoragent@cursor.com>
688 B
688 B
title, description, links
| title | description | links | |||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
| updateAppConfig | Update the App Config at runtime. |
|
::note
Updates the app.config using deep assignment. Existing (nested) properties will be preserved.
::
Usage
import { updateAppConfig, useAppConfig } from '#imports'
const appConfig = useAppConfig() // { foo: 'bar' }
const newAppConfig = { foo: 'baz' }
updateAppConfig(newAppConfig)
console.log(appConfig) // { foo: 'baz' }
:read-more{to="/docs/4.x/directory-structure/app/app-config"}