Closed vincerubinetti closed 11 months ago
Nevermind, just saw #110 and #92. I'm still on 4.0.0
, which I had just installed and assumed would be the same version as what the latest code in main
is.
Installing jpkleemans/vite-svg-loader#v4.1.0
(yuck) made it work.
Closing as duplicate.
I have a component like this:
And
loading.svg
looks like this:And the
loading.svg
isn't spinning because the<style>
tag has been removed. I thought it might be some default SVGO setting removing the style as superfluous, but then I turned off SVGO completely and the problem is still there.Then I figured this plugin was removing the style tag because Vue doesn't like a style tag in the template of a component, but I see in these lines you're trying to get around that.
Any idea what the issue could be?