title: Import multiple images on React
body: <p>I'm trying to build a react app and I have to use multiple images
  ,now do i have to import every images i'll use like:</p>
  <pre><code>import image from '/img/img1.png';
  
  &lt;img src={img} /&gt;
  </code></pre>
  <p>or is there another way to it???,</p>
  <p>PS: I've tried &quot;require&quot; and it gave an error also :</p>
  <pre><code>&lt;img src={windows.location.origin +'/img/img1.png'}/&gt;
  </code></pre>
  <p>gives no output</p>