Skip to content

Commit

Permalink
docs: add info ~/server/utils directory in ~/utils page (#19500)
Browse files Browse the repository at this point in the history
  • Loading branch information
varna committed Mar 7, 2023
1 parent bb61496 commit 6748211
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions docs/2.guide/2.directory-structure/1.utils.md
Original file line number Diff line number Diff line change
Expand Up @@ -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.
::

0 comments on commit 6748211

Please sign in to comment.