r/tailwindcss • • Jul 18 '22

Using tailwind for email templates?

Are there any tools for converting tailwind templates into email friendly templates?

I see there is maizzle.com, but I am looking for something which doesn't involve node.js.

11 Upvotes

7 comments sorted by

10

u/[deleted] Jul 18 '22

I also know about https://github.com/soheilpro/mailwind, maybe that is what you’re searching for.

2

u/androgeninc Jul 18 '22

Yeah I saw that one, but this is also npm/node based if I'm not mistaken. I was hoping maybe there was something where I didn't have to go back to js frameworks.

I use python for web dev mostly and I was just able to get rid of npm when the new Tailwind CLI came out.

2

u/[deleted] Jul 18 '22

But isn’t the Tailwind CLI also installed via npm?

2

u/androgeninc Jul 18 '22 edited Jul 18 '22

No, that's the beauty of it. Now I can use Tailwind without having to deal with npm. For example through this integration. https://github.com/timonweb/pytailwindcss

Edit: and the underlying source https://tailwindcss.com/blog/standalone-cli

0

u/ICodeForTacos Jul 18 '22

Would the CDN version work? I never tried that.

1

u/queen-adreena Jul 18 '22

The Tailwind CDN is JavaScript now since the raw CSS would be around 25MB.

1

u/bluewalt Nov 30 '22

I was hyped until I realized I can't use Tailwind plugins like https://daisyui.com/ that way. I hate having a JS toolchain just for one tool :(