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
In some cases, exactly the same Vue component will be generated for different, independent .svg files. This happened to me when I was importing SVGs containing <image> tag, but it's likely related to <use> tag instead.
In which ids on the <image> tag were different, but ids on <pattern>/<rect> tags were not, and to my surprise, I managed to work around the issue with these files by ensuring IDs uniqueness in the latter case.
In some cases, exactly the same Vue component will be generated for different, independent
.svg
files. This happened to me when I was importing SVGs containing<image>
tag, but it's likely related to<use>
tag instead.Reproduction
https://stackblitz.com/edit/vitejs-vite-3mdpmd?file=src%2FApp.vue
In
App.vue
you can uncomment the "or" section (and comment out the preceding code), and a different component will be used for the same imports.Possibly related
The text was updated successfully, but these errors were encountered: