开发者

Django_compressor error with Sass. Cannot @import files

I am trying to use Sass to compile a style.scss file with django_compressor.

I have found that Sass works on the command line if I am in the css directory, but if I am in any other directory it produces the same error as below.

Caught FilterError while rendering: Syntax error: File to import not found or unreadable: helpers.scss
Load path: .
on line 28 of d:\siphon\s开发者_开发问答iphon\static\css\style.scss

How can I fix this error?


take a look at Compass. It compiles your sass to a css and only then you get compressor to do it's job.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜