Skip to content

@tailwindcss/vite@alpha used in vite vue, :deep() selector can not use in build mode, dev mode is ok  #14839

Closed
@huchaomin

Description

@huchaomin

What version of Tailwind CSS are you using?

@tailwindcss/vite 4.0.0-alpha.31

What build tool (or framework if it abstracts the build tool) are you using?

"vite": "^5.4.10" "vue": "^3.5.12" "@vitejs/plugin-vue": "^5.1.4",

What version of Node.js are you using?

20.18.0

What browser are you using?

Chrome

What operating system are you using?

Windows

Reproduction URL
it's an empty Vite/vue project.

:::bash
pnpm i
pnpm build
:::

Snipaste_2024-10-31_10-44-16

when i dont use @tailwindcss/vite in vite.config.ts, build again

Snipaste_2024-10-31_10-46-07

Snipaste_2024-10-31_10-44-16

:deep() selector works!!!!

need help, love Tailwind, thanks!

Metadata

Metadata

Labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions