Giter Club home page Giter Club logo

dharmesh-tukadiya / hyva-cms-tailwind-purge Goto Github PK

View Code? Open in Web Editor NEW
0.0 1.0 0.0 33 KB

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.

Home Page: https://github.com/dharmesh-tukadiya/hyva-cms-tailwind-purge

License: GNU General Public License v3.0

PHP 99.18% JavaScript 0.82%
hyva hyva-community hyva-compatibility hyva-compatibility-module hyva-module hyva-modules hyva-themes magento magento2 magento2-extension

hyva-cms-tailwind-purge's Introduction

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.

hyva-cms-tailwind-purge's People

Contributors

dharmesh-tukadiya avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.