From fb80a3ad9c6b2b37ce34780a2b9c5522e40b089b Mon Sep 17 00:00:00 2001 From: OmengU <58337160+OmengU@users.noreply.github.com> Date: Thu, 11 Nov 2021 17:50:57 +0100 Subject: [PATCH] Updated readme.md file --- README.md | 12 +++++++++++- 1 file changed, 11 insertions(+), 1 deletion(-) diff --git a/README.md b/README.md index 248cb2c..0ca09c4 100644 --- a/README.md +++ b/README.md @@ -1,2 +1,12 @@ # email-templates -Email templates +In order to use a mjml file it has to be converted into an HTML file. + +## First install mjml from npm: +``` +npm init -y && npm install mjml +``` +## Then run this command to convert an mjml: +``` +mjml index.mjml index.html +``` +Now the HTML file is availiable. Just make sure to inline the css first.