natemoo-re / astro-icon

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

unable to use any hero icons #144

Closed StevenStavrakis closed 8 months ago

StevenStavrakis commented 9 months ago

As of right now I don't seem to be able to use any hero icons. I should be following the instructions precisely, but still no luck.

fayazara commented 9 months ago

Same here - behaves randomly works for some icon packs and some dont.

Screenshot 22-09 at 11

Error - Error: Not Found: pack "heroicons"

Here's a reproduction - https://stackblitz.com/edit/github-pzuwww?file=src%2Fpages%2Findex.astro

CC: @natemoo-re

StevenStavrakis commented 9 months ago

I used the @next branch and followed those instructions and it more or less works. Wait for next release I guess?

mmisztal1980 commented 9 months ago

@StevenStavrakis I'm trying to follow those steps but to no avail, can you let me know what you did to get this to work? @natemoo-re any ETA on the next release?

StevenStavrakis commented 9 months ago

@mmisztal1980 I don't remember exactly but you have to run npm i astro-icon@next then follow the instructions for manual install on the v1 branch. Install your preferred icon back as per the instructions and it should work.

You have to do the manual install because astro add won't work until the new version is published as per this issue

stramel commented 8 months ago

This is a duplicate of #29 if using v0.8.1.

You can also utilize the v1 branch or next tag as @StevenStavrakis mentioned.

Avaray commented 6 months ago

Just came to check what this hyped Astro is, and it turns out there is no access to all icons from Iconify. Well, we have to wait.