-
Bastien DUMONT authoredBastien DUMONT authored
mail.md 2.01 KiB
Explanation
A templating system was needed for the app. In order to make it easy to use and also responsive, two libraries has been used :
Handlebars is used as a semantic template motor. It allow us to split email template in order to reuse some parts (header, footer ...)
Mjml is a lib providing a syntax allowing developers to easily build responsive templates.
Usage
Scaffolding
Mails templates can be found inside src/notifications
. All reusable parts can be found in base
folder.
All stylesheet must be include inside style.hbs
.