Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 1 addition & 5 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -356,11 +356,7 @@ Templates are in `src/lib/emails/` as React components:

### Previewing Templates

```bash
npm run email:dev
```

Opens the [react-email](https://react.email) dev server with all templates and mock data for live preview.
Run the storefront in development (`npm run dev`) and visit [http://localhost:3001/dev/emails](http://localhost:3001/dev/emails). Each template is rendered with sample data using `@react-email/render`; the route is gated to non-production environments.

### How It Works

Expand Down
29 changes: 0 additions & 29 deletions emails/order-canceled.tsx

This file was deleted.

64 changes: 0 additions & 64 deletions emails/order-confirmation.tsx

This file was deleted.

7 changes: 0 additions & 7 deletions emails/password-reset.tsx

This file was deleted.

36 changes: 0 additions & 36 deletions emails/shipment-shipped.tsx

This file was deleted.

2 changes: 1 addition & 1 deletion next.config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ import createNextIntlPlugin from "next-intl/plugin";
const withNextIntl = createNextIntlPlugin();

const nextConfig: NextConfig = {
allowedDevOrigins: ["shop.lvh.me", "*.trycloudflare.com"],
allowedDevOrigins: ["shop.lvh.me", "*.trycloudflare.com", "192.168.33.13"],
env: {
NEXT_PUBLIC_SENTRY_DSN: process.env.SENTRY_DSN || "",
},
Expand Down
Loading
Loading