From c484a63bc02cce2ec88035bf632ade224f5352ab Mon Sep 17 00:00:00 2001
From: Golden <96641851+thatsgolden@users.noreply.github.com>
Date: Thu, 13 Feb 2025 17:50:24 +0800
Subject: [PATCH] pref: pre-requisite for Yarn 4+ usage

---
 src/guide/quick-start.md | 4 ++++
 1 file changed, 4 insertions(+)

diff --git a/src/guide/quick-start.md b/src/guide/quick-start.md
index f711eee365..2c08633379 100644
--- a/src/guide/quick-start.md
+++ b/src/guide/quick-start.md
@@ -106,6 +106,10 @@ If you are unsure about an option, simply choose `No` by hitting enter for now.
   <VTCodeGroupTab label="yarn">
 
   ```sh-vue
+  # Set enableGlobalCache to false and specify the cache folder to "./.yarn/cache" in `.yarnrc.yml` 
+  # before running the following commands if you're using Yarn v4+,
+  # as Vite currently does not support global cache (https://github.com/vitejs/vite/issues/15801).
+
   $ cd {{'<your-project-name>'}}
   $ yarn
   $ yarn dev