Design comparison
SolutionDesign
Solution retrospective
I have a problem that is when I use
...
<img src='./assets/aImage.svg' />...
The image does not show up. But when I use
...
import aImageSvg from './assets/aImage.svg'
<img src={aImageSvg } />
...
Then the image is fine. How is this happened? And Is there a way to import multiple image in one line?
Welcome for any feelback!
Community feedback
Please log in to post a comment
Log in with GitHubJoin our Discord community
Join thousands of Frontend Mentor community members taking the challenges, sharing resources, helping each other, and chatting about all things front-end!
Join our Discord