Skip to content

Alternative To Hyvä CMS Tailwind JIT module | A Magento 2 module that dumps all CMS pages and CMS blocks to a folder for tailwind custom classes reusability.

License

GPL-3.0, Unknown licenses found

Licenses found

GPL-3.0
LICENSE.txt
Unknown
COPYING.txt
Notifications You must be signed in to change notification settings

dharmesh-tukadiya/hyva-cms-tailwind-purge

Repository files navigation

Magento2 Hyvä Tailwind CSS Purge For CMS Pages & Blocks

Magento2.Hyva.Tailwind.CSS.Purge.For.CMS.Pages.And.Blocks.mp4

This module is designed for using custom Hyvä based child theme's tailwind css configurations in the cms pages and blocks.

This extension does nothing but it puts contents of cms blocks and pages into specific folder inside pub directory and those files are included in purge settings of tailwind css.

This way you can use your own variables defined in custom Hyvä based theme's tailwind.config.js file.

You can use this module as alternative to Hyvä's CMS Tailwind JIT module.

Whenever you save a block or page, it'll replicate the content of that block or page into a file and it'll be available for purging by tailwind css.

image

The above actions as in image will purge all the blocks and pages at once.

Releases

No releases published

Packages

No packages published