4 ms·
Any chance you could share some more details around how you integrated mustache with MJML? I did a project almost 3 years ago now where we used MJML and Handleb
by patrickserrano 6y ago
Any chance you could share some more details around how you integrated mustache with MJML? I did a project almost 3 years ago now where we used MJML and Handlebars, but I was never happy with the end result and have been thinking about going back and taking another stab.
Did MJML add any support for templating engines as part of the rendering process? That didn't seem to be an option when I did the original process so we had a 2 pass solution (MJML -> HTML w/Handlebars -> HTML).
- cies 6y agoThe solution we have is quite complex, as it also includes a builder where client can drag-drop blocks to create template (with text variables) for mailings. Mustache is used for color/font substitutions and also for text variable (like $recipient_name) substitutions. So: JSON representation of an email -> HTML+Mustache -> HTML+Mustache (only variables) -> HTML For (live during email building) previews we skip the last step and show the Mustache syntax.
- crixlet 6y agowhich builder are you using? i hav ea similar mjml + mustache setup, and am using blocksedit.com for client drag/drop. would love to see your setup!
- cies 6y agoIn house developed builder in Reacts + Typescipt + JSON schema, we buildt is to be part of our SaaS offering to our clients.
- patrickserrano 6y agoI haven't seen blockedits.com before, it looks really cool. What are your thoughts on it? Is it worth taking a deeper look at or would you choose something else if you were starting from scratch?