Skip to content

Commit 9b811dc

Browse files
Update website/docs/zh/guide/solution/react.mdx
Co-authored-by: Timeless0911 <[email protected]>
1 parent cecc547 commit 9b811dc

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

website/docs/zh/guide/solution/react.mdx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ import { PackageManagerTabs } from '@theme';
2323

2424
开发 React 组件,需要设置 [target](/config/rsbuild/output#outputtarget)`"web"``rslib.config.ts` 中。 这一点至关重要,因为 Rslib 默认将 `target` 设置为 `"node"`,这与 Rsbuild 的 target 默认值不同。
2525

26-
要编译 React(JSX 和 TSX),你需要注册 Rsbuild [React 插件](https://rsbuild.dev/plugins/list/plugin-react)。该插件将自动添加 React 构建所需的配置。
26+
要编译 React(JSX 和 TSX),你需要注册 Rsbuild [React 插件](https://rsbuild.dev/zh/plugins/list/plugin-react)。该插件将自动添加 React 构建所需的配置。
2727

2828
例如,在 `rslib.config.ts` 中注册:
2929

0 commit comments

Comments
 (0)