MODX EXTRA

TailwindHelper

MODX Helper for Tailwind

Creator: Thomas Jakobi (jako)

1.0.5-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
May 29, 2022
Supported Versions
2.8 – Current
Supported Database
MySQL
Downloads
430
License
GPLv2

Instructions

Install through package manager.

More

New in TailwindHelper 1.0.5

  • Remove all remaining rows with MODX tags by option
  • Decrease the timeout in the statistics resolver
More

Current Releases

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

More from Thomas Jakobi

CronManager

CronManager

Create and run cronjobs within the manager

LogRequest

LogRequest

Log request parameter values and display them in the dashboard

Image+

Image+

Advanced Image Template Variable

LangRouter

LangRouter

Language context router for use with Babel