![]() It allows you to load your templates into the Grapesjs builder. Your config file should have the following lines: When you finish the project, it converts your MJML code to the HTML so you can use it for your projects. The rest you can just take from a previous html file. The files should be placed like this: config.json The newly created Mautic templates have to be uploaded in a zip file, just like before. In the first 13 lines, we’re importing all the dependencies needed (such as MJML but also each component located in /components), while from lines 14 to 16, we’re registering each component. Head over to and click on the try it live link to enter the editor: The files add the text inside a single text tag and use the HTMLtag for breaking the line. We will use a free online editor to do so. In the mj-style containing '.red-text' (CSS code, remember), we specify we want the text to be red and underlined (CSS and HTML rules and effects). Before starting the tutorial, lets get ready to code in MJML. Mjml code for a line how to#In this tutorial I’ll show you how to create a template from scratch, with a little html knowledge. MJML is super-easy, it is based on HTML and will allow you to create beautiful responsive email templates.ĭo you just want to download this template, you can skip the mind-tingling article and jump to the good stuff. ![]() ![]() All you need is a bit of MJML language knowledge and a bit of affinity to design. Now, that Mautic gives us the option to create super-responsive email templates, you might want to flex your design muscles and create your own. ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |