Skip to content

Email templating with Gulp, MJML, Nunjucks and BrowserSync

License

Notifications You must be signed in to change notification settings

jpagano/mjml-starter-base

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

41 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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

About

Email templating with Gulp, MJML, Nunjucks and BrowserSync

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 3

  •  
  •  
  •