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

ZeroMQ on Windows, with Qt Creator -

unity3d - Unity SceneManager.LoadScene quits application -

python - Error while using APScheduler: 'NoneType' object has no attribute 'now' -