CSS loading locally but not in Heroku for a rails app

后端 未结 11 1816
梦谈多话
梦谈多话 2020-12-04 09:12

I\'m following a rails prelaunch signup tutorial. Bootstrap was working fine deployed on heroku, but then I modified the bootstrap_and_override file to include a logo. Whe

11条回答
  •  抹茶落季
    2020-12-04 10:01

    If your using sass...before you go through all this other trouble...make sure your not mixing .css and .scss files in your assets folder.
    Heroku seems to have some trouble mixing the two when compiling assets. I can't explain why of if its an accurate explanation...but, in my own experience all I had to do to fix this was simply rename any .css files to .scss.

提交回复
热议问题