Skip to content
Discussion options

You must be logged in to vote

From v4.2.2 onward

On March 12, 2026, Vite 8 was officially released.

From v4.2.2 released on March 18, 2026, official support for Vite 8 has been introduced, among other improvements, so you only need to start with v4.2.2.

package.json

{
  "dependencies": {
    "vite": "^8",
    "tailwindcss": "^4.2.2",
    "@tailwindcss/vite": "^4.2.2"
  },
}

vite.config.ts

import { defineConfig } from 'vite'
import tailwindcss from '@tailwindcss/vite'

export default defineConfig({
  plugins: [
    tailwindcss(),
  ],
})

v4.2.1 or earlier versions

Vite 8 with @tailwindcss/vite

I ha…

Replies: 3 comments 5 replies

Comment options

You must be logged in to vote
0 replies
Answer selected by charliez0
Comment options

You must be logged in to vote
5 replies
@wongjn
Comment options

wongjn Mar 14, 2026
Collaborator

@filpgc
Comment options

@van-sprundel
Comment options

@rozsazoltan
Comment options

@van-sprundel
Comment options

Comment options

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