We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 298d396 commit 3e14b2fCopy full SHA for 3e14b2f
website/docs/zh/guide/solution/nodejs.mdx
@@ -19,7 +19,7 @@ import { PackageManagerTabs } from '@theme';
19
20
然后在提示 "Select template" 时选择 `Node.js`。
21
22
-## 在现有项目中使用 Rslib
+## 在现有 Rslib 项目中使用
23
24
Rslib 为 Node.js 项目提供无缝支持,允许以最少的配置轻松构建 Node.js 项目。
25
website/docs/zh/guide/solution/react.mdx
然后,当提示 "Select template" 选择 `React`。
开发 React 组件,需要设置 [target](/config/rsbuild/output#outputtarget) 为 `"web"` 在 `rslib.config.ts` 中。 这一点至关重要,因为 Rslib 默认将 `target` 设置为 `"node"`,这与 Rsbuild 的 target 默认值不同。
0 commit comments