Skip to content

Latest commit

 

History

History
46 lines (32 loc) · 988 Bytes

README.md

File metadata and controls

46 lines (32 loc) · 988 Bytes

MJML Starter Base

Introduction

Starter base for Email templating with Gulp, MJML and Nunjucks. It has a Gulp-powered build system with these features:

  • MJML engine
  • Partials and templates with Nunjucks
  • Inject data with YAML
  • Built-in BrowserSync server
  • MJML default templates (Basic and Newsletter)

Installation

Requirements

Now clone this repository

git clone https://github.com/jpagano/mjml-starter-base mjml-starter-base

Then open the folder in your command line, and install the needed dependencies:

cd mjml-starter-base
npm install

Usage

Finally, run npm start to run Gulp. Your finished templates will be created in a folder called dist, viewables at this URL:

npm start
http://localhost:8000

TODO

  • HTML minifier and beautifier
  • Image compression