You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I'm encountering an error when trying to import Tailwind CSS in my project. Here are the details of my environment and the issue:
Vite : 7.0.4
Node : 23.10.0
Tailwind CSS version: 4.1.11
Chrome
Macos
When I add @import "tailwind.css" to my index.css file, an error occurs.
[plugin:@tailwindcss/vite:generate:serve] Can't resolve 'tailwind.css' in '/Users/xxx/Code/Projects/demo/alertcss/src'
I'm not sure if this is a configuration issue or a version compatibility problem.
Has anyone else encountered a similar problem? Any guidance on how to resolve this would be greatly appreciated!
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
Uh oh!
There was an error while loading. Please reload this page.
-
I'm encountering an error when trying to import Tailwind CSS in my project. Here are the details of my environment and the issue:
When I add @import "tailwind.css" to my index.css file, an error occurs.
[plugin:@tailwindcss/vite:generate:serve] Can't resolve 'tailwind.css' in '/Users/xxx/Code/Projects/demo/alertcss/src'
I'm not sure if this is a configuration issue or a version compatibility problem.
Has anyone else encountered a similar problem? Any guidance on how to resolve this would be greatly appreciated!
Thanks in advance.
Beta Was this translation helpful? Give feedback.
All reactions