Skip to content
Discussion options

You must be logged in to vote

Warning

Until a stable release is available, I wouldn't build on Vite 8, as you can run into many compatibility issues while numerous dependencies don't officially support it yet - even a single small breaking change in the API can be enough.

How to install Vite 8 with TailwindCSS v4

Vite 8 is still in beta and not stable. Until a stable release is available, it's not customary to provide official support for it. For the beta, you can force-attach plugins with incompatible versions at your own risk, like this:

package.json

{
  "dependencies": {
    "vite": "8.0.0-beta.11",
    "tailwindcss": "^4",
    "@tailwindcss/vite": "^4"
  },
  "overr…

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by charliez0
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Help
Labels
None yet
2 participants