Skip to content

Commit e2004cb

Browse files
authored
docs: Move react-email to dev dependencies in install guides (#1522)
1 parent 6469936 commit e2004cb

File tree

4 files changed

+12
-6
lines changed

4 files changed

+12
-6
lines changed

apps/docs/getting-started/manual-setup.mdx

Lines changed: 6 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -27,15 +27,18 @@ Install the React Email package locally and a few components.
2727
<CodeGroup>
2828

2929
```sh npm
30-
npm install react-email @react-email/components -E
30+
npm install react-email -D -E
31+
npm install @react-email/components -E
3132
```
3233

3334
```sh yarn
34-
yarn add react-email @react-email/components -E
35+
yarn add react-email -D -E
36+
yarn add @react-email/components -E
3537
```
3638

3739
```sh pnpm
38-
pnpm add react-email @react-email/components -E
40+
pnpm add react-email -D -E
41+
pnpm add @react-email/components -E
3942
```
4043

4144
</CodeGroup>

apps/docs/getting-started/monorepo-setup/npm.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 in the `transactional` workspace.
2525

2626
```sh packages/transactional
27-
npm install react-email @react-email/components -E
27+
npm install react-email -D -E
28+
npm install @react-email/components -E
2829
```
2930

3031
## 3. Add scripts

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

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,8 @@ in there setup a new `package.json` and do not forget to add this to your `pnpm-
2323
Install React Email in the `transactional` workspace.
2424

2525
```sh packages/transactional
26-
pnpm add react-email @react-email/components -E
26+
pnpm add react-email -D -E
27+
pnpm add @react-email/components -E
2728
```
2829

2930
## 3. Add scripts

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

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,8 @@ nodeLinker: node-modules
3939
Install React Email in the `transactional` workspace.
4040

4141
```sh packages/transactional
42-
yarn add react-email @react-email/components -E
42+
yarn add react-email -D -E
43+
yarn add @react-email/components -E
4344
```
4445

4546
## 4. Add scripts

0 commit comments

Comments
 (0)