grafana/emails/README.md
Oleg Gaidarenko 35b74a99a8
Emails: resurrect template notification (#18686)
* Emails: resurrect template notification

* Phantomjs (oh yeah, there is another dev dep phantom :-) was failing for
  the generation of the html templates so I had to update the dependencies
  in order to fix it. While doing that I update the scripts field and docs
  for it as well. yarn.lock is included

* Move splitting of the emails to separate helper function, since more services
  coming up that would need to use this functionality

* Add support for enterprise specific email letters. Probably could
  be done in the better way, but it's not a priority right now
2019-08-26 17:19:03 +02:00

308 B

Prerequisites

  • npm install
  • gem install premailer

Tasks

  • npm run build (default task will build new inlines email templates)
  • npm start (will build on source html or css change)

Result

Assembled email templates will be in dist/ and final inlined templates will be in ../public/emails/