sass-rails asset pipeline: generating image paths incorrectly; `url(/images/blah.png)` instead of `url(/assets/blah.png)`

前端 未结 8 1018
南笙
南笙 2021-01-01 17:31

In section 2.2.2, \"CSS and Sass\", I\'m told to put image-url(\'delete.png\') in my sass. And so I have.

However, it is generating CSS like

<         


        
8条回答
  •  没有蜡笔的小新
    2021-01-01 18:21

    After I edited my .scss file (added a space) and reload the page I got right result. After I removed the space it worked correctly.

提交回复
热议问题