missing tailwind classes!!! #19415
Replies: 2 comments 6 replies
-
|
Consider checking:
Otherwise, consider providing a project that reproduces the unexpected behavior. |
Beta Was this translation helpful? Give feedback.
-
|
Hi @babubhai01, This is expected behavior 😊 Tailwind does not generate all utility classes by default. That’s why you’re seeing a very small output CSS (~161 lines). Why this happensTailwind uses a content scan (formerly called purge) to keep the CSS output minimal. If your project currently has little or no Tailwind classes in your HTML/JS files, What to check
module.exports = {
content: [
"./index.html",
"./src/**/*.{html,js,ts,jsx,tsx}",
],
theme: {
extend: {},
},
plugins: [],
}
You’ll see more utilities appear as you actually use them. ✅ Summary
This is working exactly as designed. |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
-
I followed the documentation for installing tailwind css https://tailwindcss.com/docs/installation/tailwind-cli and it produced 161 line css file where most of the classes are missing.
Beta Was this translation helpful? Give feedback.
All reactions