ID collisions in vue 2
roamiiing opened this issue Ā· comments
Vitaliy Lyovkin commented
Hey! I am using this plugin really often with Vite and Vue 3. But now I am trying to use this plugin on Vue 2 and webpack 4 and getting collisions with IDs in attrs of svg elements.
I've looked at the code and noticed that there's this function, but it's only used in the compiler for Vue 3 .
Why is handling of ID collisions done only for Vue 3, and is there a possibility to do something like this for Vue 2?
Aleksei Nagovitsyn commented
+1. Please backport this fix 0908f60 to vue 2 compiler.