Replies: 3 comments 10 replies
-
Hey! Can you tell me specifically which class or classes it’s saying are invalid? Based on your setup I’d expect all the ones you’ve shown in your first snippet to work but if it’s stuff like You can also simplify your CSS file to just |
Beta Was this translation helpful? Give feedback.
-
Please consider providing a project that reproduces the issue. |
Beta Was this translation helpful? Give feedback.
-
I solved this issue by adding my base css file to the other css files like @import 'tailwindcss';
/* other configurations */ then css file where i am getting error @import './base.css'; |
Beta Was this translation helpful? Give feedback.
-
Hello! I am attempting to upgrade to Tailwind V4 in my existing Next.js project (15.0.0-canary) and as soon as I run the app, the console is spammed with errors like this:
Example for an offending class:
My
globals.scss
file imports tailwind like so:PostCSS config:
Tailwind config:
Beta Was this translation helpful? Give feedback.
All reactions