I am currently working on a nextjs frontend project that has tailwindcss integrated.
Below is an example of the code I am using:
import Link from 'next/link'
return(
<div>
<Link className="text-sm hover:text-gray-600" href="#">Test Link styling</Link>
<a className="text-sm hover:text-gray-600" href="#">Test Link styling</a>
</div>
)
After inspecting the elements on the page, I noticed that the anchor tag is styled by tailwindcss, but the anchor tag within the Link component does not receive any styling.
Is there a way to resolve this issue? Do I need to adjust the tailwindcss configurations?