Pilot-in / PiloPress

The most advanced WordPress Page Builder using Advanced Custom Fields & TailwindCSS
https://www.pilopress.com
63 stars 11 forks source link

TailwindCSS3 & JIT #202

Closed ghost closed 2 years ago

ghost commented 2 years ago

Added purge content config + setter / getter & re-ordered TailwindCSS content into layers

ghost commented 2 years ago

Some classes are not detected by TailwindCSS because of the slashes inside layouts variables (cf screen)

image

Need to remove the sanitization at this level

ghost commented 2 years ago

Need to remove the sanitization at this level

Fixed in 53c54f4

DamChtlv commented 2 years ago

Just thought about this yesterday but we need to enqueue TailwindCSS Play CDN when using TailwindCSS v3 so we have all classes by default in front when starting development / prototyping in inspector. And only when the development is done, remove the CDN enqueued (maybe it should be a true / false field which handle this)