Skip to content

[Bug Report][4.0.3] Vite 8 Build create wrong CSS Layering (eg. Button) #22752

@mdunisch

Description

@mdunisch

Environment

Vuetify Version: 4.0.3
Vue Version: 3.5.30
OS: macOS 10.15.7 (current)

Expected Behavior

  • Updating a vite 8 app from vuetify 3 -> 4 should create working buttons
  • Updating a vuetify 4 app from vite 7 -> vite 8 should create the same css output

Actual Behavior

Vite 8 (Build mode) + vuetify 4 creates strange CSS Layer ordering.

Visual Problems:
Button gets font: inherit (from core-reset) on the highest order

There may be way more issues!

Other comments

  • Seems like Vite 8 Build mode (uses new bundler) creates other CSS files
  • Works fine on vite dev more, problem is only on vite build mode
Image

Metadata

Metadata

Assignees

No one assigned

    Labels

    S: needs reproductionThe issue does not contain a valid reproductionS: triageupstreamProblem with a third party library that we may have to work around

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions