From 6748211df44a358cc918ac04115dee5138847c0d Mon Sep 17 00:00:00 2001 From: Paulius Varna Date: Tue, 7 Mar 2023 11:45:07 +0200 Subject: [PATCH] docs: add info `~/server/utils` directory in `~/utils` page (#19500) --- docs/2.guide/2.directory-structure/1.utils.md | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/docs/2.guide/2.directory-structure/1.utils.md b/docs/2.guide/2.directory-structure/1.utils.md index a4d2ab83fd..212550c517 100644 --- a/docs/2.guide/2.directory-structure/1.utils.md +++ b/docs/2.guide/2.directory-structure/1.utils.md @@ -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. +::