Skip to content

Compiles MJML templates with Handlebars variables into html with hot reload.

License

Notifications You must be signed in to change notification settings

Matthewk01/mjml-handlebars-compiler

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

10 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

MJML + Handlebars compiler tool

  • This tool compiles MJML templates with Handlebars data and outputs HTML files
  • Supports multiple templates and multiple data files
  • Supports hot reload
  • TODO: Better custom helpers support

Usage

  • npm install
  • Put your templates with data in templates folder in following format:
TEMPLATE_NAME.mjml
TEMPLATE_NAME.json
  • Example: templates/welcome.mjml, templates/welcome.json
  • npm run start:dev

About

Compiles MJML templates with Handlebars variables into html with hot reload.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published