docs: add short note about custom imports configuration (#20073)

This commit is contained in:
Paul Melero 2023-04-04 10:21:09 +00:00 committed by GitHub
parent f40b3e2492
commit c62a4d214a
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -17,6 +17,10 @@ You can find a reference for auto-imported [composables](/docs/api/composables/u
In the [server directory](/docs/guide/directory-structure/server), we auto import exported functions and variables from `server/utils/`. In the [server directory](/docs/guide/directory-structure/server), we auto import exported functions and variables from `server/utils/`.
:: ::
::alert
You can also auto-import functions exported from custom folders or third-party packages by configuring the [`imports` section](/docs/api/configuration/nuxt-config#imports) of your `nuxt.config` file.
::
## Built-in Auto-imports ## Built-in Auto-imports
### Nuxt Auto-imports ### Nuxt Auto-imports