natemoo-re / astro-icon

Inline and sprite-based SVGs in Astro made easy!
https://astroicon.dev
Other
996 stars 57 forks source link

Getting a big black square when using local icons #84

Closed ameneses67 closed 1 year ago

ameneses67 commented 1 year ago

I put some icons on src/icons/ but when I call them I just get a big black square. Tried using different svs's but no luck.

stramel commented 1 year ago

The black square is a hardcoded fallback for when the icon isn't found. This will be addressed through better error messaging in the v1 branch. However, for your current setup you will need to post some more information if you're looking for help on resolving your icons.