跳过导航
You wouldn’t import an SVG…
0:00 / 0:23

You wouldn’t import an SVG…

Astro

@astrodotbuild10万 位关注者

在 X 上查看
638 个赞下载原帖

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) 上的原帖

  • Michael Stramel 的头像

    @stramel89

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

    3 个赞

  • Anish Badri 的头像

    @anish_badri

    Nice to have it built in instead of installing svgr.

    1 个赞

  • Gavin Thomas 的头像

    @trickydisco78

    I want cached external svgs and then lookup via svg use

    1 个赞

  • Carlos Quesada 的头像

    @cquesada_es

    Finally!

    1 个赞

  • IMVN 的头像

    @Inkioonki

    No more server restarts 💖⭐

    1 个赞

  • Tyler @ Kojo Design 的头像

    @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 个赞

  • Boko Čolse 的头像

    @struhy_xd

    Finally ✊ I've been renaming svgs to .astro and adding a style tag for too long

    1 个赞

  • Surjith S M ✪ 的头像

    @surjithctly

    This is huge 🙌

    1 个赞

  • Michael Andreuzza 的头像

    @Mike_Andreuzza

    nice!