Forked from mjmlio/mjml-component-boilerplate.
- Clone the repo
npm installinside- Create custom components inside
src/componentsfolder- Components will be compiled into the
build/componentsfolder after build step
- Components will be compiled into the
- Add your custom component paths to
.mjmlconfig(reference the one in thebuild/componentsfolder) - Create emails inside
src/emailsfolder- Components will be compiled into the
build/emailsfolder after build step
- Components will be compiled into the
npm run buildto build, ornpm startif you want to watch recompile on each file change- Results will be in the
buildfolder