Issue
I'm at the moment trying to embed an image to my angular project but I'm getting an error that the immage can not be found.
GET http://localhost:4200/logo.svg 404 (Not Found)
I have tried to embed the image with the standard method just like this
<img src="../logo.svg">
I have checked the source and also tried other file formats.
Solution
@Parth Ghiya commented the answer to my question. I had to put the image to the /src/assets folder. Angular is now able to find the image.
Answered By - Leonzen
0 comments:
Post a Comment
Note: Only a member of this blog may post a comment.