Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
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
- Host: GitHub
- URL: https://github.com/djhi/epic-stack-jsx-email
- Owner: djhi
- Created: 2023-10-07T14:26:09.000Z (over 1 year ago)
- Default Branch: main
- Last Pushed: 2023-10-07T14:33:53.000Z (over 1 year ago)
- Last Synced: 2024-11-08T04:44:14.192Z (3 months ago)
- Language: TypeScript
- Size: 9.33 MB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
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