MODX EXTRA

TailwindHelper

MODX Helper for Tailwind

Creator: Thomas Jakobi (jako)

1.0.4-pl (99 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
November 17, 2021
Supported Versions
2.8 – Current
Supported Database
MySQL
Downloads
227
License
GPLv2

Instructions

Install through package manager.

More

New in TailwindHelper 1.0.4

  • Weblate configuration
  • German lexicon
More

Current Releases

1.0.4-pl
November 17, 2021
2.8 – Current
More
View Deprecated Releases

More from Thomas Jakobi

SuperBoxSelect

SuperBoxSelect

Advanced Listbox/Resource List template variable

ContextKeeper

ContextKeeper

Prevent resources from being saved in the wrong context

PDFResource

PDFResource

Convert MODX resources to PDF files using mPDF

emo

emo

E-Mail Obfuscation with Javascript