Back to React Email

Deployment

apps/docs/deployment.mdx

0.0.15740 B
Original Source
<Steps> <Step title="Add 'build' script to ./package.json"> ```diff { "scripts": { + "build": "email build" } } ``` </Step> <Step title="Change 'Framework Preset' on Vercel's project settings to Next.js"> You also need to add "next" on `devDependencies` to work properly:
```diff
 {
   "devDependencies": {
+    "next": "*",
   }
 }
```

This is a limitation on Vercel's Next Framework Preset.
</Step> <Step title="Change 'Output Directory' to .react-email/.next"> In the end, your settings should look like this:
<Frame>
  
</Frame>
</Step> </Steps>