-
-
Notifications
You must be signed in to change notification settings - Fork 842
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
PostCSS issue with Tailwind 4.0 #3735
Comments
Full error just in case. There isn't much to trace back. |
Yesterday I've added Tailwind v4 to Nuxt3 app as a plugin, via nuxt.config.ts and main.css file. (so not related to React framework) When I run: But the command: My problem was solved by updating from |
Yeah, today tailwind 4.0.13 released, also tanstack elements released minor updates as well. Still same issue. Also another thing to note, directly running on Vite does not throw this error. Only while using tanstack-start |
I'm also getting this error using Vite 6 + Tailwind CSS 4 -- but I'm not using TanStack, so I think the issue may be with Tailwind CSS and/or Vite rather than being related to TanStack.
|
I have another project with Vite 6 + Tailwind 4 without any issues. I use Tanstack router and query in that one and running without this error. I started testing new Start Framework and it was working fine at the beginning. now with recent updates it started throwing this error. It could be after when tanstack/start became tanstack/react-start. I am yet to test if that is the case |
Which project does this relate to?
Start
Describe the bug
After recent updates. started getting this error with tailwind 4.0. It was working as expected earlier but now it is throwing error. Only solution i can see is old option of creating postcss config and plugin use. Tailwind has moved on from those.
[plugin:vite:css] [postcss] D:/Work/Dev/projects/tanstack/app/assets/styles/globals.css:10505:15: Unknown word err.plugin
Versions in use
"@tanstack/react-query": "^5.67.2", "@tanstack/react-router": "^1.114.13", "@tanstack/react-router-with-query": "^1.114.13", "@tanstack/react-start": "^1.114.13", "react": "^19.0.0", "react-dom": "^19.0.0", "vinxi": "^0.5.3", "tailwindcss": "^4.0.12", "typescript": "^5.8.2", "vite-tsconfig-paths": "^5.1.4", "@tailwindcss/vite": "^4.0.12", "@tailwindcss/typography": "^0.5.16",
Your Example Website or App
localhost
Steps to Reproduce the Bug or Issue
Build app with latest Tailwind 4.0 and use typography plugin in the global.css
Expected behavior
App should import the global.css without unknown error
Screenshots or Videos
No response
Platform
Additional context
No response
The text was updated successfully, but these errors were encountered: