According to Where do Images go in IONIC 2 and the ionic changelog I should be putting images in src/assets/img
.
This does work for <img src="assets/img/...
However, it does not work for images referenced in scss files. So for example I may have pages/login/login.html
that has the above image and that works, but then in pages/login/login.scss
I have:
border-image: url("assets/img/...
Based on some debugging it seems like it's trying to load the image from www/build/assets
in the CSS files, but www/assets
in html.
Is there something else I need to do to get image assets loading properly in the scss files?