Replies: 1 comment
-
|
Thanks for reporting this! |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
ref: https://discord.com/channels/830184174198718474/1400413273047699496
Problem:
worked in older versions of astro but leads to 404 with astro svg components because
iconis emitted as stringified component function into index.htmlSolution:
Use the
srcproperty to access the asset urlhttps://docs.astro.build/en/guides/images/#images-in-src mentions the
srcprop but https://docs.astro.build/en/guides/images/#svg-components does not.Beta Was this translation helpful? Give feedback.
All reactions