Пропустить навигацию
You wouldn’t import an SVG…
0:00 / 0:23

You wouldn’t import an SVG…

Astro

@astrodotbuild100 тыс. подписчиков

Открыть в 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!