You wouldn’t import an SVG…
39,296 次观看
You wouldn’t import an SVG…
or wait, maybe you would 👀
Import SVGs as components with size and fill props. Now experimental in 5.0.
9 条评论
评论来自 X (Twitter) 上的原帖

@stramel89
I'm looking for any and all feedback on this feature! Please feel free to reply, dm, or post
3 个赞

@anish_badri
Nice to have it built in instead of installing svgr.
1 个赞

@trickydisco78
I want cached external svgs and then lookup via svg use
1 个赞

@cquesada_es
Finally!
1 个赞

@Inkioonki
No more server restarts 💖⭐
1 个赞

@TylerNickerson
I heard murmurs about an Iconify integration to go along with this.. Any news? Or is that effectively what astro-icon will become? 🥺
1 个赞

@struhy_xd
Finally ✊ I've been renaming svgs to .astro and adding a style tag for too long
1 个赞

@surjithctly
This is huge 🙌
1 个赞

@Mike_Andreuzza
nice!
