docs: add info ~/server/utils directory in ~/utils page (#19500)

This commit is contained in:
Paulius Varna 2023-03-07 11:45:07 +02:00 committed by GitHub
parent bb61496e98
commit 6748211df4
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -14,3 +14,7 @@ The main purpose of the `utils/` directory is to allow a semantic distinction be
The way `utils/` auto-imports work and are scanned is identical to [the composables/ directory](/docs/guide/directory-structure/composables). You can see examples and more information about how they work in that section of the docs.
::
::alert{type=info}
These utils are only available within the Vue part of your app. Within the [server directory](/docs/guide/directory-structure/server#server-utilities), we auto import exported functions and variables from `~/server/utils` instead.
::