Images dont show, ionic bug?


#1

looked over on google and ionic forum answers.

can someone explain this? :


#2

ok, asked a friend. the answer:
in css file we need to put / before the word assets:
…url(’/assests/dp.png’);


#3

The CSS file is in a different location than the html file, so the relative path of the images are different.
Might be that ../assets... instead of /assets... also works and works more reliable.


#4

i just put / before and it worked…