npm install
npm start
and afterwards just open your browser using the link http://localhost:3000/.
The http server will listen and restart upon each change inside src folder. You just need to refresh a browser window manually.
Generate email.html
in root directory:
npm run generate
And you can automate things by sending the generated email to your test inbox:
npm run build
npm run generate | mail -s "$(echo -e "This is a test email\nContent-Type: text/html")" [email protected]
Example
<MjmlText><pre>const foo = () => {}</pre></MjmlText>
Based on mjml and mjml-react.