email-homey2.9.2

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.

§ Changelog

See it in the monorepo opens in a new tab, on GitHub.

§ Contributing

To report bugs or request features or assistance, raise an issue on GitHub opens in a new tab.

Any code contributions welcome! All Pull Requests will be dealt promptly.

§ Licence

MIT opens in a new tab

Copyright © 2010–2021 Roy Revelt and other contributors

Related packages:

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