docs: update auto-imports for the server part (#18848)

This commit is contained in:
Sébastien Chopin 2023-02-07 10:59:43 +01:00 committed by GitHub
parent 84dfd8756a
commit eec0cbc416
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -13,8 +13,8 @@ In the documentation, every function that is not explicitly imported is auto-imp
You can find a reference for auto-imported [composables](/docs/api/composables/use-async-data) and [utilities](/docs/api/utils/dollarfetch) in the API section.
::
::alert{type=warning}
Auto imports don't currently work within the [server directory](/docs/guide/directory-structure/server).
::alert{type=info}
In the [server directory](/docs/guide/directory-structure/server), we auto import exported functions and variables from `server/utils/`.
::
## Built-in Auto-imports