vite-plugin-svg-sprite
vite-plugin-svg-sprite copied to clipboard
Doesn't work with Storybook
Hi. Found your plugin and it's the only one that at least do something in my case.
I am trying to create svg sprite and use it inside storybook (Vite + Vue2), but all of the plugins I tried before did absolutely nothing or cause errors. Yours, in other hand, create the sprite and include it in the DOM, but it happened AFTER the Vite build, so this is happening:
I don't know how to solve this. I can see all my icons in the DOM:
But none of them work:
But the ID's are matching:
Weird stuff :(
I am stupid nevermind. Id's of symbols don't need '#' lol
No problem. I will close this issue if there are no anything else.