You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When using @parcel/transformer-vue in versions later than 2.13.3, images referenced in .vue files are rendered as [object Object] in the HTML output. This issue does not occur when images are loaded outside Vue (e.g., directly in index.html).
Steps to Reproduce
Use @parcel/transformer-vuev2.14.0 or higher.
Reference an image asset in a .vue file (e.g., <img src="./image.png">).
Image paths are correctly resolved and rendered in the HTML.
😯 Current Behavior
[object Object] is output instead of the image path.
🔦 Context
May be related to changes in asset handling or serialization in newer versions of the Vue transformer.
The text was updated successfully, but these errors were encountered:
TobiasSchikora
changed the title
Vue Image Embedding Fails in .vue Files with @parcel/transformer-vue v2.13.4+
Vue Image Embedding Fails in .vue Files with @parcel/transformer-vue v2.14.0+
Mar 25, 2025
TobiasSchikora
changed the title
Vue Image Embedding Fails in .vue Files with @parcel/transformer-vue v2.14.0+
Vue Image Embedding Fails in .vue Files with @parcel/transformer-vue@2.14.X
Mar 25, 2025
🐛 bug report
When using
@parcel/transformer-vue
in versions later than 2.13.3, images referenced in.vue
files are rendered as[object Object]
in the HTML output. This issue does not occur when images are loaded outside Vue (e.g., directly inindex.html
).Steps to Reproduce
@parcel/transformer-vue
v2.14.0
or higher.<img src="./image.png">
).Workaround
Pin dependencies to v2.13.3.
🎛 Configuration
🤔 Expected Behavior
Image paths are correctly resolved and rendered in the HTML.
😯 Current Behavior
[object Object]
is output instead of the image path.🔦 Context
May be related to changes in asset handling or serialization in newer versions of the Vue transformer.
The text was updated successfully, but these errors were encountered: