/email-marketing-boilerplate

An awesome email marketing boilerplate to fast development

Primary LanguageHTML

email-marketing-boilerplate

This is a small boilerplate for email marketing development. It includes:

  • Gulp.js: Node.js Module for Front-End Development Flow Automation
  • gulp-clean: Gulp plugin that does recursive deletion of files
  • gulp-htmlmin: Gulp plugin that minifies HTML files
  • gulp-imagemin: Gulp plugin that optimizes images
  • gulp-inline-css: Gulp plugin that takes all styles inside the "style" tag and places them inline
  • browser-sync: Node.js module that refreshes a page when saving the file

How to use...

npm install

Installs all project dependencies

npm run dev

Starts browser-sync for agile development

npm run gulp 

Creates a production version of the project with:

  • All CSS within "style" gets inline
  • Minimized HTML
  • Optimized images

I hope you enjoy! :)