MODX EXTRA

TailwindHelper

MODX Helper for Tailwind

Creator: Thomas Jakobi (jako)

1.0.2-pl (98 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
September 24, 2021
Supported Versions
2.8 – Current
Supported Database
MySQL
Downloads
781
License
GPLv2

Instructions

Install through package manager.

More

New in TailwindHelper 1.0.2

  • Scan classes by menu item
More

Current Releases

1.0.8-pl
October 20, 2022
2.8 – Current
More
View Deprecated Releases

More from Thomas Jakobi

MatomoVisitsSummary

MatomoVisitsSummary

A MODX Dashboard Widget with the visits summary graph of Matomo

Image+

Image+

Advanced Image Template Variable

AjaxUpload

AjaxUpload

Upload button for uploading multiple files with progress-bar

FormIt2PDF

FormIt2PDF

FormIt hook for sending form submissions as PDF attachment