maizzle / framework

Quickly build HTML emails with Tailwind CSS.
https://maizzle.com
MIT License
1.24k stars 49 forks source link

Questions about Components in Layouts #457

Closed Blake32p closed 3 years ago

Blake32p commented 3 years ago

I have a queston about Components in Layouts. Previously I had code that would pull items like footers into a layout. <component src="footer.html"> </component>

I've noticed after upgrading to 3.5.0 that this is not working. If I copy the same code directly to my template it works, but I cant seem to get it to work in a layout?

cossssmin commented 3 years ago

Looks like a bug introduced in 3.5.0, specifically in https://github.com/maizzle/framework/commit/b800a99946b81f18a612225daf41ee59927ef0fc

Will fix it in the next release, thanks for reporting it 👍

cossssmin commented 3 years ago

Released v3.5.1 which includes a fix for this. Thanks again!