From f554aefbf957fbd5396962071df8ad9d0b265e69 Mon Sep 17 00:00:00 2001 From: AQian <970506352@qq.com> Date: Tue, 24 Feb 2026 11:10:14 +0800 Subject: [PATCH] docs(cn): update Vite version requirements to match English docs --- guide/index.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/guide/index.md b/guide/index.md index 4aea1d51..e79a5e6d 100644 --- a/guide/index.md +++ b/guide/index.md @@ -39,7 +39,7 @@ bun add -D vitest ::: :::tip 提示 -Vitest 需要 Vite >=v5.0.0 和 Node >=v20.0.0 +Vitest 需要 Vite >=v6.0.0 和 Node >=v20.0.0 ::: 如果在 `package.json` 中安装一份 `vitest` 的副本,可以使用上面列出的方法之一。然而,如果更倾向于直接运行 `vitest` ,可以使用 `npx vitest`( `npx` 会随着 npm 和 Node.js 一起被安装)。