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.
Emgen is available as an npm package.
npm install emgen
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"
Please refer to the documentation for information on how to get started.
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
This project is licensed under the terms of the ISC license.