Help us understand the problem. What is going on with this article?

Reactでsvgをimportする方法

やりかた

npm i react-svg-loader --save-dev
import Image1 from 'react-svg-loader!./image1.svg';

↓ここを参考に
https://blog.kwst.site/201908203549/

aircloset
「新しい当たり前を作る」を作ることをミッションに、airClosetを開発・運営しています。
http://corp.air-closet.com/
Why not register and get more from Qiita?
  1. We will deliver articles that match you
    By following users and tags, you can catch up information on technical fields that you are interested in as a whole
  2. you can read useful information later efficiently
    By "stocking" the articles you like, you can search right away