mirror of
https://github.com/nuxt/nuxt.git
synced 2024-11-26 07:32:01 +00:00
docs: add info ~/server/utils
directory in ~/utils
page (#19500)
This commit is contained in:
parent
bb61496e98
commit
6748211df4
@ -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.
|
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.
|
||||||
|
::
|
||||||
|
Loading…
Reference in New Issue
Block a user