#23208·vuetify

[Bug Report][4.2.1] v-img src does not resolve relative to Vite base path

Author: MetRonnieCreated Sep 22, 2026Updated Sep 23, 2026
LabelsS: triage

Environment

Vuetify Version: 4.2.1 Vue Version: 3.5.43 OS: Windows

Steps to reproduce

  1. Have a vite config with base: '/subpath/' set
  2. Have a <v-img src="/assets/image.png"/>, or some other component that uses v-img e.g. v-empty-state

Expected Behavior

xml
<v-img src="/assets/hero.png" />

works the same as

xml
<img src="/assets/hero.png" />

Actual Behavior

The v-img has to have a relative src or else it will 404

Reproduction Link

https://github.com/MetRonnie/vuetify-base-path-repro