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
Hi, i'm using nuxt-svgo to import svgs as components, and i also have nuxt-icon for icons. The issue here is that if i use nuxt-svgo to import an svg as a component, nuxt-icon adds .nuxt-icon and .nuxt-icon--fill classes, and overwrites my svg colors
The text was updated successfully, but these errors were encountered:
UPDATE :
I'm also using svgo-nuxt, and I was trying to dynamically load the svg.
In order to fix the issue you need to specify a filled property, Ex: <SvgoTest :filled="true" />
But I had to give up the first option since I couldn't change the svg width & height. What I end up doing is adding this to the nuxt.config.ts in order to stop using the nuxt-icon component :
Hi, i'm using nuxt-svgo to import svgs as components, and i also have nuxt-icon for icons. The issue here is that if i use nuxt-svgo to import an svg as a component, nuxt-icon adds .nuxt-icon and .nuxt-icon--fill classes, and overwrites my svg colors
The text was updated successfully, but these errors were encountered: