reactjs - Images in react not showing up -


learning react , want show image on main page folder. put picture here
..\client\myapp\src\imagefolder\myimage.jpg in react's app.js
<img src='./imagefolder/myimage.jpg' alt="hel"/> <img src='/imagefolder/myimage.jpg' alt="hel"/>
both of these methods dont work. did because app.js inside src folder , trying navigate position picture. doing wrong?


Comments

Popular posts from this blog

ios - MKAnnotationView layer is not of expected type: MKLayer -

ZeroMQ on Windows, with Qt Creator -

unity3d - Unity SceneManager.LoadScene quits application -