maizzle | Quickly build HTML emails with utility-first CSS | Email library
kandi X-RAY | maizzle Summary
kandi X-RAY | maizzle Summary
Maizzle is a framework that helps you quickly build HTML emails with Tailwind CSS.
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 maizzle
maizzle Key Features
maizzle Examples and Code Snippets
Community Discussions
Trending Discussions on maizzle
QUESTION
I am working on a project using the Maizzle html-email framework that needs to have some php code embedded (but ignored) within the final production build file so that it can get later executed at runtime. Essentially I just want Maizzle to ignore the blocks of php code during the build process.
simplified code to ignore from component file that is included in main template file with the tag.
ANSWER
Answered 2021-Mar-04 at 13:17This has been fixed in Maizzle v3.1.6.
Mark, I think this might be an issue with the posthtml-modules plugin that we're using for the Components functionality in Maizzle.
Specifically, its processWithPostHtml method doesn't pass any options to PostHTML rendering, so your posthtml
config in Maizzle's config.js
isn't inherited/passed down. That would explain why it works outside components.
I'll need to confirm this with the PostHTML team; hopefully it's an easy fix in posthtml-modules
and we can pass the user's PostHTML options from the Maizzle config to it, automatically.
I've created an issue in Maizzle for it and will update my response in both places once we find a solution 👍
P.S.: you don't need the tag or the
posthtml-custom-elements
plugin in order to render PHP code, you can safely remove those if not using them for other purposes.
Community Discussions, Code Snippets contain sources that include Stack Exchange Network
Vulnerabilities
No vulnerabilities reported
Install maizzle
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