This repository demonstrates a common issue when integrating Tailwind CSS with CSS preprocessors like Sass or Less. The problem stems from the interaction between Tailwind's directives (@apply) and the preprocessor's functionality. The bug.css
file showcases a scenario where Tailwind directives don't function as expected because of the preprocessor. The bugSolution.css
file provides a corrected version illustrating proper usage and workarounds to resolve the issue. This issue may manifest as missing styles, unexpected styles, or styles that are overridden unexpectedly due to specificity conflicts.