cpsoinos / nuxt-svgo

SVGO loader for Nuxt
MIT License
151 stars 13 forks source link

Global config to disable font controlled on all component #240

Closed misbahansori closed 9 months ago

misbahansori commented 9 months ago

HI, when I use this plugin, it automatically includes the nuxt-icon class in the SVG with default styling. If I want to avoid that class, I can disable it by setting :font-controlled="false", but having to do this for every component is tedious. It'd be great to have a global option for this.

jd1378 commented 9 months ago

hi well, you already can replace the component that is being used very easily by using the customComponent option

I understand the default settings is not for everyone but what you are asking is way easier to achieve by copying the component this package provides and editing it to suit your needs, then use it in customComponent option

misbahansori commented 9 months ago

Thanks for the response. Okay no problem, I will use the custom component for now.