Skip to content

Commit 06b7c56

Browse files
authored
fix(website): quick-start sub app vite config display exception (#697)
1 parent 0d383c6 commit 06b7c56

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

website-new/src/components/config/_viteConfig.mdx

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -11,10 +11,11 @@ export default defineConfig({
1111
});
1212
```
1313

14-
:::tip 【重要】注意:
14+
<p>
15+
【重要】注意:
1516
1. base 提供资源绝对路径,避免相对路径带来的资源访问问题;
1617
2. origin 提供资源绝对路径,避免相对路径带来的资源访问问题;
1718
3. 需要将子应用沙箱关闭 `Garfish.run({ apps: [{ ..., sandbox: false }] })`
1819
4. 子应用的副作用将会发生逃逸,在子应用卸载后需要将对应全局的副作用清除
1920

20-
:::
21+
</p>

0 commit comments

Comments
 (0)