I use background images in my .css. When I deployed my app to Heroku, those images weren't showing up.
I used Google's developer tools and looked at the page's resources. Those images are flagged as "not found". Looking at the links, they were different-looking from my other precompuled assets.
Turned out that rather than url("image.png"), I needed url( image_path( "image.png")) in my .scss files.
No comments:
Post a Comment