Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/djhi/epic-stack-jsx-email

An example of the Epic Stack that uses jsx-email instead of react-email
https://github.com/djhi/epic-stack-jsx-email

Last synced: about 1 month ago
JSON representation

An example of the Epic Stack that uses jsx-email instead of react-email

Awesome Lists containing this project

README

        


The Epic Stack with @jsx-email 🚀



Ditch analysis paralysis and start shipping Epic Web apps.


This is an opinionated project starter and reference that allows teams to
ship their ideas to production faster and on a more stable foundation based
on the experience of Kent C. Dodds and
contributors.


## Usage

- Run the app as usual with `npm run dev`
- Run the emails preview app with `npm run emails:preview`

## Differences

- replaced dependency to `@react-email/components` by `@jsx-email/all`
- emails have been extracted into dedicated files in the `/app/emails` folder
- import statements from `@react-email/components` have been changed to `@jsx-email/all`
- each email now have both a named export for usage in the remix code and a default export for the JSX-Email preview app
- each email now declare a `PreviewProps` for the JSX-Email preview app
- `remix.config.js` now have a `serverDependenciesToBundle` property containing the packages needed for JSX-Email