In v4 you import Tailwind using a regular CSS @import statement, not using the @tailwind directives you used in v3: @import "tailwindcss";