Let mjml2html = require ( 'mjml' ) mjml2html ( Here is an example of MJML code written in JSON: You can even write an MJML template as a JSON object and then interpret it into HTML. You write it right for one screen, you get it right for all screens. As we’ve already mentioned, MJML is not using HTML, but custom components that contain some HTML and CSS chunks, and under the hood, they are already designed to be responsive. For different email engines, there is a different problem with CSS.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |