• MODX.com

    53 downloads

TailwindHelper

TailwindHelper is an extra by jako, first released on 2021-11-17.

Package Description

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.

Usage/Installation Instructions

Install through package manager.

Details

Developer(s)
jako
Released
2021-11-17
First seen
2021-11-17
License
GPLv2
Supported databases
MySQL
Minimum MODX Requirement
2

TailwindHelper Releases

Vendor Signature Released on
MODX.com 1.0.4-pl 2021-11-17 (14 days ago)
MODX.com 1.0.3-pl 2021-09-24 (2 months ago)
MODX.com 1.0.2-pl 2021-09-24 (2 months ago)

We've also seen 4 unverified versions of TailwindHelper in use, but don't list those as we've been unable of confirming they are official releases from an official source.