- Remove the
mjmlnpm package and install
- Find all MJML templates ending with the
.mjmlextension and convert these to React components with the
- Replace MJML standard component tags with React Email component tags where possible, including
- Convert custom MJML components with the
.jsextension to React components with the
If you have a lot of MJML files to convert, this migration can be quite tedious! You can also automate this process with Second’s MJML → React Email migration module. Just connect Second to your GitHub repo, run the module, and get a pull request.