magsout / mjml-component-boilerplate

A boilerplate to quickly get started when creating your own component

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

mjml-component-boilerplate

A boilerplate to quickly get started when creating your own component.

  • Clone the repo
  • npm install inside
  • Add your component inside components folder
  • Add your component route to .mjmlconfig (make sure to link the one in the /lib folder)
  • Use your own component in index.mjml (or uncomment the mj-column-image-text if you want to test the one already created)
  • npm run build to build, or npm start if you want to watch recompile on each file change
  • Result will be in index.html

About

A boilerplate to quickly get started when creating your own component

License:MIT License


Languages

Language:JavaScript 100.0%