79751864

Date: 2025-08-31 15:53:51
Score: 1.5
Natty:
Report link

In Tailwind v4 you can’t use just `@import "tailwindcss";`.

Replace it in `globals.css` with:

@import "tailwindcss/base";

@import "tailwindcss/components";

@import "tailwindcss/utilities";

Also remove the const config = {...} part from CSS (that belongs in config files).
Then keep only import './globals.css' in app/layout.js → your global styles will work.

Reasons:
  • Has code block (-0.5):
  • User mentioned (1): @import
  • User mentioned (0): @import
  • User mentioned (0): @import
  • Low reputation (1):
Posted by: Gobi Krishnan