Not sure what happened, but some magic configuration change means that Vue is not passing attributes into the SVG. It used to work, but now only the component itself is passed attributes, but a parent component assigning attributes aren't passed in. So like
<~- Parent.vue -->
<script setup lang="ts">
import RetailerImage from './RetailerImage.vue'
<script>
<template>
<!-- This used to work, adding both classes -->
<RetailerImage class="product-placeholder" />
</template>
Not sure what happened, but some magic configuration change means that Vue is not passing attributes into the SVG. It used to work, but now only the component itself is passed attributes, but a parent component assigning attributes aren't passed in. So like
Any ideas?