Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

docs: fix app-config merging strategy note #26564

Merged
merged 2 commits into from
Mar 30, 2024
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Next Next commit
docs: fix app-config merging strategy note
  • Loading branch information
enkot committed Mar 29, 2024
commit 1d18189a990f480fdc23563fb3c7c3747322afab
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 should not be used in the default `app.config` of your application.
enkot marked this conversation as resolved.
Show resolved Hide resolved
::

Here's an example of how you can use:
Expand Down