Tailwindcss font size not appling on page load in the vite react application #19339
Unanswered
dhinagaran0101
asked this question in
Help
Replies: 1 comment
-
|
A GitHub repository containing a minimal reproduction would be needed. |
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.
-
Environment Details
Dependencies
"dependencies": {
"@tailwindcss/vite": "^4.1.17",
"tailwindcss": "^4.1.17",
"vite": "^6.2.3",
"react": "^19.0.0",
"react-dom": "^19.0.0"
}
These are the main packages used in my Vite + React application.
❗ Issue
The font size utilities from Tailwind CSS are not applied on the initial page load.
However, when I manually refresh the page, the font size is applied correctly.
Initial Page Load (incorrect)


After Manual Reload (correct)
Beta Was this translation helpful? Give feedback.
All reactions