From acabc590254716510ac3782e1c3994af0ac2310d Mon Sep 17 00:00:00 2001 From: Zhou xiao Date: Mon, 4 Nov 2024 14:55:25 +0800 Subject: [PATCH] docs: Update _viteConfig.mdx --- website-new/src/components/config/_viteConfig.mdx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/website-new/src/components/config/_viteConfig.mdx b/website-new/src/components/config/_viteConfig.mdx index b3be803a2..8025ef2e8 100644 --- a/website-new/src/components/config/_viteConfig.mdx +++ b/website-new/src/components/config/_viteConfig.mdx @@ -11,7 +11,7 @@ export default defineConfig({ }); ``` -:::caution 【重要】注意: +:::tip 【重要】注意: 1. base 提供资源绝对路径,避免相对路径带来的资源访问问题; 2. origin 提供资源绝对路径,避免相对路径带来的资源访问问题; 3. 需要将子应用沙箱关闭 `Garfish.run({ apps: [{ ..., sandbox: false }] })`