MODX EXTRA

TailwindHelper

MODX Helper for Tailwind

Creator: Thomas Jakobi (jako)

1.0.7-pl (90 KB) Other Versions Need help installing this extra?

About TailwindHelper

With this MODX Revolution extra all used CSS classes in chunks, templates, resources and template variables are collected and saved to a safelist.json file. This safelist can be used to avoid purging the used CSS classes in a MODX installation.

To generate a safelist.json file with the content of chunks, templates, resources and template variables, you simply have to click on the TailwindHelper menu entry in the Extras menu. The target path of the safelist.json can be changed by a system setting.

The CSS classes in the files are detected in standard class="whatever" attributes and Alpine.js :class="{ 'whatever': variable === 'foo' }" attributes. These examples will add 'whatever' and 'foo' to the detected classes. The class names are separated by the space character and included in the list as individual classes.

Information

Released
July 10, 2022
Supported Versions
2.8 – Current
Supported Database
MySQL
Downloads
535
License
GPLv2

Instructions

Install through package manager.

More

New in TailwindHelper 1.0.7

  • Added ContentBlocks field/layout templates scan
More

Current Releases

1.0.7-pl
July 10, 2022
2.8 – Current
More
View Deprecated Releases

More from Thomas Jakobi

AjaxUpload

AjaxUpload

Upload button for uploading multiple files with progress-bar

FormIt2PDF

FormIt2PDF

FormIt hook for sending form submissions as PDF attachment

CronManager

CronManager

Create and run cronjobs within the manager

LogRequest

LogRequest

Log request parameter values and display them in the dashboard