Replies: 1 comment
-
Consider providing a git repo that reproduces the issue and we can take a look for you. |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
Environment:
^4.1.10
^6.2.6
18.2.0
I followed the official Tailwind + Vite + React guide, and everything was working fine—until it suddenly stopped, and I haven’t changed anything in
vite.config.js
orindex.css
.There are no console errors, and I can confirm the CSS is being loaded. For example, I still see custom styles like:
That means the CSS file is working—but Tailwind utility classes just don’t apply anymore. Any ideas what might be causing this?
Configuration files
vite.config.js
src/index.css
index.html
src/main.jsx
Beta Was this translation helpful? Give feedback.
All reactions