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
There are nuxt modules with support for SVGO but they are not working out of the box with nuxt/icon (or not working at all like https://nuxt.com/modules/svg-sprite)
So i think it is good addition to already most perfect module
I myself find it frustrating to fix fill and stroke to be of currentColor. SVGO can do it for me just fine
The text was updated successfully, but these errors were encountered:
Iconify icons should already be optimized. Do you mean for the custom svg icons? If in that case, I think it would make sense to have that. PR welcome if anyone wants to work on that. Thanks
We could just use the iconify tools and while/after parsing them into the collection we could just pipe them through cleanSVG and runSVGO. Also adding the corresponding options to our configuration.
https://github.com/svg/svgo
There are nuxt modules with support for SVGO but they are not working out of the box with
nuxt/icon
(or not working at all like https://nuxt.com/modules/svg-sprite)So i think it is good addition to already most perfect module
I myself find it frustrating to fix
fill
andstroke
to be ofcurrentColor
. SVGO can do it for me just fineThe text was updated successfully, but these errors were encountered: