/mjml-inject

Simple MJML template system

Primary LanguageJavaScript

mjml-inject

Import MJML code snippets into MJML files. Maintain complex MJML projects with ease and reuse code.

Usage

MJML file named demo.mjml render an email to dist folder. All MJMJ snippets must be in src/templates folder.

To test it run npm install then gulp mjml

Requirements

Node >= v4.4.4