Problem with images to buildar - Ionic 2

-1

I have a project and everything is in compliance with this link: link

The images are in the src / assets / img folder but when I give the build, they do not appear on the device (only in the browser when I do the ionic).

Yesterday everything was ok, the last build I made appeared right ... today, for some reason, they no longer appear at all. I deleted the folders and created it again and nothing.

I've even started a new project, copied the files and it still does not show.

    
asked by anonymous 10.08.2017 / 19:16

1 answer

0

After much testing, I was able to solve the problem:

All my images had at least one uppercase letter, and at the time of typing the path in the code, I used only lowercase characters, that is:

The browser made the 'hit' for me, but the app did not. In short: Do not name your images in upper or lower case to avoid this kind of confusion.

    
10.08.2017 / 23:35