mirror of
https://github.com/nuxt/nuxt.git
synced 2024-11-25 23:22:02 +00:00
docs: clarify app-config merging strategy note (#26564)
This commit is contained in:
parent
6dcad76a06
commit
f00dcdf0f8
@ -99,7 +99,7 @@ Nuxt uses a custom merging strategy for the `AppConfig` within [the layers](/doc
|
|||||||
This strategy is implemented using a [Function Merger](https://github.com/unjs/defu#function-merger), which allows defining a custom merging strategy for every key in `app.config` that has an array as value.
|
This strategy is implemented using a [Function Merger](https://github.com/unjs/defu#function-merger), which allows defining a custom merging strategy for every key in `app.config` that has an array as value.
|
||||||
|
|
||||||
::note
|
::note
|
||||||
The Function Merger should only be used in the base `app.config` of your application.
|
The function merger can only be used in the extended layers and not the main `app.config` in project.
|
||||||
::
|
::
|
||||||
|
|
||||||
Here's an example of how you can use:
|
Here's an example of how you can use:
|
||||||
|
Loading…
Reference in New Issue
Block a user