CSS not loading in Heroku

后端 未结 3 1876
南旧
南旧 2021-02-06 02:42

I deployed my app to Heroku but only the assets\\images are loading. The CSS files (especially the one that contains 90% of the CSS, custom.css) are not being loaded. I precompi

3条回答
  •  慢半拍i
    慢半拍i (楼主)
    2021-02-06 02:53

    How about making a change to application.css(.scss) (like adding new empty line) and committing that? It seems that Heroku is checking for the diff files and precompiles assets accordingly. I just happened to know it accidentally, so you can try if it helps.

提交回复
热议问题