resend / react-email

💌 Build and send emails using React
https://react.email
MIT License
12.57k stars 571 forks source link

fix(create-email): add react-email/tailwind dependency #1428

Closed thddrew closed 3 weeks ago

thddrew commented 3 weeks ago

The vercel-invite-user example fails because the tailwind module was not found.

Adding this to the dependency fixes it but not sure if this belongs here or as a peer-dep in the react-email/components package?

vercel[bot] commented 3 weeks ago

@thddrew is attempting to deploy a commit to the resend Team on Vercel.

A member of the Team first needs to authorize it.

vercel[bot] commented 3 weeks ago

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Comments Updated (UTC)
react-email-demo ✅ Ready (Inspect) Visit Preview 💬 Add feedback Apr 24, 2024 6:32pm
gabrielmfern commented 3 weeks ago

This isn't yet on a stable release yet, but we do already have a fix for this on canary. On canary we import Tailwind from @react-email/components instead of from @react-email/tailwind. You can get the latest one by just doing npx create-email@canary.