Hello! I’m very new in Ionic 2 (and mobile application in general). I would like to add a background image and a picture in my window. So, I wrote this in my html file:
<img src="swop.png'" alt="swop">
And in my scss file, I have:
//background-color: red; // this command works
As you can see, I want to put the picture background.png in background and the picture swop.png in the window.
I really don’t understand why it doesn’t work. I know that my .scss file is read because I tried to put a red background and it worked. Maybe I have to declare or import the pictures somewhere else, like in variables.scss? Or the syntax has changed? Here are the errors I got, maybe it can help:
As you can see, there are two errors. The first one says that it can’t find the picture swop, while the picture is in the same folder than the html file and the second one talks me about the folder build… Why? Is there someone who could help me?