This repository demonstrates an uncommon bug where Tailwind CSS styles fail to apply after the production build process. The styles are correctly included, however, some classes are missing from the production version. The development version functions correctly. The solution involves ensuring Tailwind's purge process correctly identifies and includes necessary classes.
npm install
.npm run build
to build for production.The solution is provided in bugSolution.js
. It involves carefully reviewing your Tailwind configuration (tailwind.config.js) to ensure that all necessary classes are being purged properly and correctly set up for production builds.