color disappear
Closed this issue · 3 comments
Yanyeyeye commented
jpkleemans commented
Hi, have you tried disabling SVGO? See https://github.com/jpkleemans/vite-svg-loader#disable-svgo
zumm commented
Also this is may be issue related to Vue3 parser. It doesn't allow use <style> and <script> tags inside component, so if your svg uses these tags it may be corrupted. I'm facing this issue right now.
jpkleemans commented
@zumm Yes that' s right. Those kinds of "complex" svg's are tricky to support. In such case, it's better to make a vue component out of it yourself.