emgen
v0.1.14
Published
Generate email templates with automatic file inclusion and stylesheet inlining, or even with Vue templates!
Downloads
74
Maintainers
Readme
Emgen allows you to easily generate HTML email templates.
- Automatic stylesheet inlining: Write your CSS (or Sass/Less/Stylus) in a separate file and Emgen will automatically inline it into your HTML.
- File inclusion: Allows you to reuse common elements of your templates by keeping them in separate fields and referring to them with a comment syntax.
- Support for Vue templates: Use Vue.js to create and render your templates.
Installation
Emgen is available as an npm package.
npm install emgen
Additional features (optional)
npm install sass # Sass support
npm install less # Less support
npm install stylus # Stylus support
# Vue SFC support
npm install vue@">3.2.0"
npm install @vue/compiler-sfc@">3.2.0"
# Vue with Typescript
npm install typescript@">4.0.0"
# Vue i18n support
npm install vue-i18n@">9.0.0"
Documentation
Please refer to the documentation for information on how to get started.
Contributing
Feel free to contribute to Emgen. Here are some ways you can contribute:
- Open bug reports
- Open feature requests
- Propose improvements to the documentation
- Create Pull Requests to fix bugs or make other improvements
License
This project is licensed under the terms of the ISC license.