mjml-component-boilerplate | A boilerplate to quickly get | Email library
kandi X-RAY | mjml-component-boilerplate Summary
kandi X-RAY | mjml-component-boilerplate Summary
A boilerplate to quickly get started when creating your own component
Support
Quality
Security
License
Reuse
Top functions reviewed by kandi - BETA
Currently covering the most popular Java, JavaScript and Python libraries. See a Sample of mjml-component-boilerplate
mjml-component-boilerplate Key Features
mjml-component-boilerplate Examples and Code Snippets
Community Discussions
Trending Discussions on mjml-component-boilerplate
QUESTION
Firstly, I am new at emails markup. So I decided to use mjml to construct a letter but I faced the problem - markup doesn't being rendered properly: MJML doesn't include components and I can't understand why. Project was created using npm package mjml-component-boilerplate because I wanted to register my own components.
my index.mjml
...ANSWER
Answered 2018-Aug-16 at 17:28You demonstrate putting the components after
(as demonstrated in https://mjml.io/documentation/#mj-include). It doesn't work for me there.
It does work for me when I put the elements after
. Good luck!
I'm interpreting the rest of your post as background, not asking another question. Let me know if otherwise.
By the way: Besides stackoverflow, another great source of MJML information is https://mjml.slack.com.
Community Discussions, Code Snippets contain sources that include Stack Exchange Network
Vulnerabilities
No vulnerabilities reported
Install mjml-component-boilerplate
Clone the repo
npm install inside
Add your component inside components folder
Add your component to the registrations in gulpfile.babel.js
Use your own component in index.mjml
npm run build to build, or npm start if you want to watch recompile on change you make (to your component or to index.mjml)
The result will be outputted in index.html
Support
Reuse Trending Solutions
Find, review, and download reusable Libraries, Code Snippets, Cloud APIs from over 650 million Knowledge Items
Find more librariesStay Updated
Subscribe to our newsletter for trending solutions and developer bootcamps
Share this Page