Mosaico - Master Template and HTù template generator for Mosaico
You need NodeJS v6.0 or higher + ImageMagick
npm install npm run build
This will run, for each template, 3 things
- Generate the template HTML from the source HTMML code
- Copy the img files from def to dist.
- Generate the template model, or check the template model against previously generated models, to track compatibility issues
- Generate the template and block thumbnails (
edresfolder) for the templates.
Src vs Generated
dist contains the final templates to be used in mosaico
model contains generated model files, used to track compatility issues between builds.
HTMML is a very simple template language we use to make it easier to write mosaico master templates.