Skip to content

Commit cf7b716

Browse files
authored
Feat/mjml readme (#26)
1 parent becb2c8 commit cf7b716

File tree

1 file changed

+15
-0
lines changed

1 file changed

+15
-0
lines changed

README.md

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -56,6 +56,21 @@ yarn start
5656
5757
[![Slides.com template presentation](docs/slides.png)](https://slides.com/santospatrick/nextjs-chakraui-typescript)
5858

59+
## MJML usage
60+
61+
- You can generate your e-mail templates from MJML by running the following command:
62+
```
63+
yarn emails
64+
```
65+
66+
The generated `.html` files will be located in `./emails/dist/`
67+
- You can also watch for MJML file changes in your `./emails/templates` folder by running:
68+
```
69+
yarn emails:watch
70+
```
71+
72+
Any change in the `.mjml` files will generate new `.html` template files.
73+
5974
## Features
6075

6176
### `v1`

0 commit comments

Comments
 (0)