Heroku does not precompile assets when deploying

后端 未结 4 1657
旧巷少年郎
旧巷少年郎 2021-02-03 16:12

It very clearly says in its documentation that it would do this if I don\'t precompile them locally.

And truthfully, I have no interest in precompiling these locally.

4条回答
  •  既然无缘
    2021-02-03 16:55

    The reason it would not deploy was because of Google fonts. Moving the file to your application.css such as :

     *= require_self
     *= require_tree .
     */
    
    
    @import url(http://fonts.googleapis.com/css?family=Special+Elite);
    

    Will allow the app to deploy, and for the fonts to work.

提交回复
热议问题