CSS and Images Not loading in ionic view


#1

I have created an app using ionic 2 that looks fine when testing in Chrome. However I uploaded to the client, and tried to view using ionic view – and all the css and images were missing. I may have the wrong paths, or maybe the assets aren’t being uploaded, but not really sure how to debug it. For example, in my index.html page, I have the following link
<link href="/css/ionic.app.css" rel="stylesheet">
This works fine in chrome, but not in ionic view.
Also, the image paths are not appearing, for example
<img src="/images/btn_play_again.png" />
This works fine in chrome, but I’m getting a broken image in ionic view.
Any idea how to figure this out?


#2

I have the same issues :frowning: