martylouis / email-starter-mjml-gulp-pug

Simple starter to build email templates with MJML, Gulp & Pug

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Email Starter with MJML, Gulp & Pug


Install

Install dependencies (requires a local installation of Node.js)

npm install
# or
yarn

Dev

This will run a local Gulp script to watch your .pug files and generate your emails from Pug to MJML to HTML. Open http//localhost:3000 to preview the HTML.

All templates can be updated in src/templates.

npm run dev
# or
yarn dev

Build & Preview

Build and preview what your final HTML will look like locally.

npm run build && npm run start
# or
yarn build && yarn start

About

Simple starter to build email templates with MJML, Gulp & Pug


Languages

Language:HTML 78.4%Language:Pug 11.8%Language:JavaScript 9.8%