-
-
Notifications
You must be signed in to change notification settings - Fork 38
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Is there any update as to the maintenance of this? #25
Comments
Hello! I'm sure, like me, many of you were looking for a tasty solution for generating emails in your SvelteKit app...
and then in your +page.server.ts or wherever else server-side: import { render } from '@react-email/render';
// Import your TSX email component
import MyEmailComponent from '$lib/emails/MyEmailComponent';
// Other stuff
const emailHtml = render(
MyEmailComponent({ message: 'Hello from SvelteKit!'})
);
// Send with Sendgrid or whatever you like, at this point output is the same as this package It does mean that you have to write your email templates in JSX but other than that it's a pretty good compromise to make for a more actively maintained project (with Tailwind support woohoo!). I think the first prize is to hop on to maintaining this project, but I believe the above is an interim solution. |
Hello all, I have decided to fork the project and maintain it as various people have been asking for updates on the project. I have updated the package and ARIA issues thus far and will see what the community wants in regards to future changes. I hope this is not stepping on the author's project as I love it and have enjoyed using it. If the author returns I would not mind archiving the fork either. For now, if you want to have these two previously mentioned alerts disappear and work on other issues please check-out: |
Thanks for taking over @cmjoseph07 I'd also like to contribute if you need or if the original author returns. Thanks |
Feel free to jump on any issues you see fit here that you feel comfortable working on and make a pull request on, I plan on starting to tackle some of this stuff this weekend and if there is anything I missed please let me know: https://github.com/cmjoseph07/svelty-email List of known issues/request:1. Error: Component.render(...) is no longer valid in Svelte 5 (#34)
2. render and styleToString exports need file types (#28)
---------------------------------- REQUEST ---------------------------------- 1. White Container background (#32)
2. Tailwind Support (#16)
3. Preview component maximum text length - RangeError: Invalid count value (#14)
|
Is there a demo repo anywhere showcasing this? Seems like a nice solution. @TomRadford |
Thanks
The text was updated successfully, but these errors were encountered: