Why do some Tailwind classes not apply styles even though I wrote them in HTML?
If the file containing those classes is not included in the content array, Tailwind won't see them and will remove those styles during tree-shaking.
💡 Always include all folders and file types where you use Tailwind classes in the content config.
Why does my CSS file size stay large even after configuring content paths?
If your content globs are too broad or include files with many classes, Tailwind keeps all those classes, making CSS bigger.
💡 Use precise file paths and extensions in content to limit scanned files.
Why does adding a new HTML file not show new styles until I restart the build?
Tailwind's watcher may not detect new files outside the configured content paths, so it doesn't update CSS until restarted.
💡 Add new file locations to content array and restart build to see new styles.