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)
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
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
- HTML minifier and beautifier
- Image compression