email-homey2.7.73

Generate homepage in the Browsersync root with links/screenshots to all your email templates

§ Use it

Once installed, call it in the root of your templates projects:

homey "dist"

§ What it does

email-homey helps to generate a homepage with a list of all your email templates.

It will expect that all your email templates will be located within a certain folder.

Specifically, email-homey will scan a all subfolder names of the path you give it (like dist in the example above) and will go inside that folder, look for seed.html, copy it into index.html (overwriting if such file already exists) and inside that file, replace word 'magicFoldersList' with a list of folder names (maintaining correct indentation).

This is all you need to be able to pull off a homepage driven by a Vue.js opens in a new tab. An HTML file with Vue.js script can't query your hard drive and find the subfolder names. For that we need Node. Once Vue.js has the list of folder names (in an array), it can generate a table of templates.

§ Licence

MIT opens in a new tab

Copyright © 2010–2020 Roy Revelt and other contributors

Related packages:

📦 email-comb 3.10.4
Remove unused CSS from email templates
📦 email-all-chars-within-ascii 2.9.73
Scans all characters within a string and checks are they within ASCII range
📦 email-all-chars-within-ascii-cli 1.10.81
Command line app to scan email templates, are all their characters within ASCII range