Inky & foundation-emails development environment.
git clone https://github.com/jsanahuja/inky-email-templates.git
npm install
See some examples clicking here
- dev: Watches for any change in
src/*.html
to automatically perform a fast compilation intobuild/$1.html
and reload the browser.
npm run dev
- examples: Copies all the foundation-emails templates into
foundation-examples/src
and builds them intofoundation-examples/build
so you can see both the source and result of each.
npm run examples
- index: Generates the
index.html
file with a list of your builds. Check this index.html example
npm run index
- build: Compiles all the html files in
src/
intobuild
. This method also transforms all the CSS files into inline CC and minifies both HTML and CSS.
npm run build