Skip to content

all3dp/all3dp-eblast-templates

Repository files navigation

All3DP Eblast Templates

This repository contains example templates written in MJML to create mailchimp complient templates.

Prerequisits

Execute "pnpm i" to install the nessesary nodejs modules.

Documentation:

Scripts:

The Eblast template are located in the "/src-folder". To build all templates execute "pnpm build". The output of the buildprocess goes to "/.output".

  • use pnpm dev to enter MJML watch mode. Template output goes to /.output
  • use pnpm test to validate your templates
  • use pnpm build to build templates. The output goes to /.output

Preview changes

To preview your changes first start pnpm dev to build the templates and then execute open .output/[tempalte].html in a terminal (e.g. open /Users/username/all3dp-eblast-templates/.output/base.html) to preview changes in your browser.

Templates:

Templates are based on MJML syntax, see https://mjml.io for details.

  • basic.mjml - contains a basic eblast mail template.
  • minimal.mjml - contains a minimal eblast template with a header and footer.
  • footer-only.mjml - contains the default footer with Mailchimp templates and default wording.