NovuN
Novu•3y ago
GP

Reusable HTML / MJML components in email templates

HI there, I have a usecase where I have a lot of transactional emails to setup which share some common non trivial components (Product card, User card, Table etc). I guess I don't have much other choice than writing these specific components in HTML, but what would be the best way to centralise the code of these components? Is there any better approach than duplicating the code in each template where I need it... ? Thanks for insights and help 🙏
Was this page helpful?