From c62a4d214aa7d536507d45e49575c68e92203c54 Mon Sep 17 00:00:00 2001 From: Paul Melero Date: Tue, 4 Apr 2023 10:21:09 +0000 Subject: [PATCH] docs: add short note about custom `imports` configuration (#20073) --- docs/2.guide/1.concepts/1.auto-imports.md | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/docs/2.guide/1.concepts/1.auto-imports.md b/docs/2.guide/1.concepts/1.auto-imports.md index b08052793d..89f86007bc 100644 --- a/docs/2.guide/1.concepts/1.auto-imports.md +++ b/docs/2.guide/1.concepts/1.auto-imports.md @@ -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/`. :: +::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 ### Nuxt Auto-imports