When i open my tailwind project in localhost server then its working fine but when i open my tailwind project through file explorer > index.html > browser then tailwind classes are not applied, only html is showing. I am using vite for generating development server btw. How to fix this issue ?
I tried to reopen my localhost but still it did not worked
New contributor
Gaurav Kumar Singh is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.