Skip to content

Commit

Permalink
docs: clarify app-config merging strategy note (#26564)
Browse files Browse the repository at this point in the history
  • Loading branch information
enkot committed Mar 30, 2024
1 parent 6dcad76 commit f00dcdf
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion docs/2.guide/2.directory-structure/3.app-config.md
Original file line number Diff line number Diff line change
Expand Up @@ -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.

::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:
Expand Down

0 comments on commit f00dcdf

Please sign in to comment.