djhi / epic-stack-jsx-email

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

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

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

About

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


Languages

Language:TypeScript 94.5%Language:CSS 3.3%Language:JavaScript 1.6%Language:Dockerfile 0.6%