Skip to content

Commit 1f873df

Browse files
authored
docs: fix monorepo dependencies script (#1738)
1 parent 17eb85c commit 1f873df

File tree

4 files changed

+5
-4
lines changed

4 files changed

+5
-4
lines changed

apps/docs/getting-started/monorepo-setup/bun.mdx

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,8 @@ Include a new `package.json` and do not forget to add this to the `workspaces` o
2424
Install React Email to the `transactional` workspace.
2525

2626
```sh packages/transactional
27-
bun add react-email @react-email/components -E
27+
bun add react-email -D -E
28+
bun add @react-email/components react react-dom -E
2829
```
2930

3031
## 3. Add scripts

apps/docs/getting-started/monorepo-setup/npm.mdx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ Install React Email in the `transactional` workspace.
2525

2626
```sh packages/transactional
2727
npm install react-email -D -E
28-
npm install @react-email/components -E
28+
npm install @react-email/components react react-dom -E
2929
```
3030

3131
## 3. Add scripts

apps/docs/getting-started/monorepo-setup/pnpm.mdx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ Install React Email in the `transactional` workspace.
2424

2525
```sh packages/transactional
2626
pnpm add react-email -D -E
27-
pnpm add @react-email/components -E
27+
pnpm add @react-email/components react react-dom -E
2828
```
2929

3030
## 3. Add scripts

apps/docs/getting-started/monorepo-setup/yarn.mdx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,7 @@ Install React Email in the `transactional` workspace.
4040

4141
```sh packages/transactional
4242
yarn add react-email -D -E
43-
yarn add @react-email/components -E
43+
yarn add @react-email/components react react-dom -E
4444
```
4545

4646
## 4. Add scripts

0 commit comments

Comments
 (0)