-
-
Notifications
You must be signed in to change notification settings - Fork 60
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
not an integration? #167
Comments
it will be an integration in v1 https://github.com/natemoo-re/astro-icon/releases/tag/astro-icon%401.0.0-next.0 |
Nice! How can I use astro-icon before that change is merged? |
Hey @mvolkmann! 👋🏼 Yes, the astro add command won't work until we publish the new integration. For now use the manual instructions but install using |
I tried that, but this fails because it can't find import { Icon } from "astro-icon"; I do have an |
@mvolkmann you might want to check out those guides: Getting Started | Astro Icon Upgrade to Astro Icon v1 | Astro Icon |
Thank you, installing via npm i astro-icon@next solved for me 👍 . By the way trying to installing a custom svg icon by putting it insto src/icons/ folder gives me this error :
|
This should be resolved now that #162 has been merged! |
@pietrociatta please open a new issue for any bugs encountered using v1.0.0! |
I can confirm this is working for me now. I documented the steps I used at https://mvolkmann.github.io/blog/topics/#/blog/astro/. See the "Icons" section. |
I get the following when I enter
npx astro add astro-icon
:⚠ astro-icon is not an official Astro package. Use at your own risk!
✔ Continue? … yes
✖ astro-icon doesn't appear to be an integration or an adapter. Find our official integrations at https://astro.build/integrations
The text was updated successfully, but these errors were encountered: