fides | light-weight cryptographic authorisation framework | Cryptography library
kandi X-RAY | fides Summary
kandi X-RAY | fides Summary
light-weight cryptographic authorisation framework
Support
Quality
Security
License
Reuse
Top functions reviewed by kandi - BETA
Currently covering the most popular Java, JavaScript and Python libraries. See a Sample of fides
fides Key Features
fides Examples and Code Snippets
Community Discussions
Trending Discussions on fides
QUESTION
In a new WordPress project I'm using Tailwind CSS with ACF flexible (block) content.
Now I've created a "spacer" block, that can be used in between other blocks.
The thing is, Tailwind JIT is not purging the PHP file correctly. I works good if I echo out the full sting like "h-20" or "sm:h-40", but when I'm creating the string with some PHP filters, it won't work.
For example:
...ANSWER
Answered 2021-Sep-15 at 14:34I'm afraid purgeCSS does not run your code and cannot 'see' these classes. So it's not adding them to the CSS file.
As per the Tailwind documentation on 'Writing purgeable HTML' here
That means that it is important to avoid dynamically creating class strings in your templates with string concatenation, otherwise PurgeCSS won’t know to preserve those classes.
Community Discussions, Code Snippets contain sources that include Stack Exchange Network
Vulnerabilities
No vulnerabilities reported
Install fides
Support
Reuse Trending Solutions
Find, review, and download reusable Libraries, Code Snippets, Cloud APIs from over 650 million Knowledge Items
Find more librariesStay Updated
Subscribe to our newsletter for trending solutions and developer bootcamps
Share this Page