Skip to content

Commit 9ca2aaa

Browse files
authored
Update website/docs/zh/guide/advanced/storybook.mdx
1 parent 2247cbc commit 9ca2aaa

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

website/docs/zh/guide/advanced/storybook.mdx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -85,7 +85,7 @@ import { Tab, Tabs } from 'rspress/theme';
8585
```
8686

8787
:::tip
88-
如果你使用的是 Yarn Plug-n-Play 或者你的项目是在 monorepo 环境中设置的,你可能会遇到模块解析问题。在这种情况下,你可以添加一个 `getAbsolutePath('storybook-addon-rslib')` 函数来解析插件。有关更多信息,请查看 [Storybook 的 FAQ](https://storybook.js.org/docs/faq#how-do-i-fix-module-resolution-in-special-environments)
88+
如果你使用的是 [Yarn Plug-n-Play](https://yarnpkg.com/features/pnp) 或者你的项目是在 monorepo 环境中设置的,你可能会遇到模块解析问题。在这种情况下,你可以添加一个 `getAbsolutePath('storybook-addon-rslib')` 函数来解析插件。有关更多信息,请查看 [Storybook 的 FAQ](https://storybook.js.org/docs/faq#how-do-i-fix-module-resolution-in-special-environments)
8989
:::
9090

9191
大功告成,你可以使用以下命令启动和构建 Storybook 服务器:

0 commit comments

Comments
 (0)