classname not showing on nextjs

So I was working on Login page using next.js as framework.

I did some simple designs using react for some texts but it is not showing on browser. It may be that it is not imported.

I don’t see any error on console so I’m having trouble with finding what the problem is.


I can check on the inspector the classnames for these texts so I’m really puzzled why this is not reflected on the browser.

Does anyone know what the problem is or have had the same experience?

Thank you in advance.

the files looks like this: nav.js

>Solution :

It is my belief that the problem lies with your Tailwind installation. Kindly verify that Tailwind is installed correctly. On occasion, issues such as this can arise due to an issue with the Tailwind configuration file (tailwind.config.js). If the content routes are not added correctly, it may work in some components but not others.

 content: [


Leave a Reply