I\'m having a problem with sourcing an image with angular 4. It keeps telling me that the image is not found.
Folder structure:
app_folder/ app_compo
Well, the problem was that, somehow, the path was not recognized when was inserted in src by a variable. I had to create a variable like this:
src
path:any = require("../../img/myImage.png");
and then I can use it in src. Thanks everyone!