mirror of
https://github.com/saccas/mjml-typo3.git
synced 2024-12-23 12:26:14 +01:00
Update README.md (#11)
This commit is contained in:
parent
9b4c68d952
commit
1972249852
1 changed files with 18 additions and 0 deletions
18
README.md
18
README.md
|
@ -31,3 +31,21 @@ TYPO3:
|
|||
## MJML Documentation
|
||||
|
||||
https://mjml.io/documentation/
|
||||
|
||||
## Usage in your distribution
|
||||
|
||||
To automate the installation of the npm packages, you could add the following lines to your composer.json
|
||||
|
||||
```
|
||||
"scripts": {
|
||||
"post-install-cmd": [
|
||||
"cd web/typo3conf/ext/mjml && npm prune --production"
|
||||
],
|
||||
"post-update-cmd": [
|
||||
"cd web/typo3conf/ext/mjml && npm prune --production"
|
||||
],
|
||||
"pre-deploy": [
|
||||
"cd web/typo3conf/ext/mjml && npm prune --production"
|
||||
]
|
||||
}
|
||||
```
|
||||
|
|
Loading…
Reference in a new issue