开发者

Does Django-css app be able to deal with compass?

开发者 https://www.devze.com 2023-03-17 09:44 出处:网络
In my django project, I finally made django-css working, but however, if I do @import \"compass\" Then the css would break, an emapty css file is generated.开发者_高级运维

In my django project, I finally made django-css working, but however, if I do

@import "compass"

Then the css would break, an emapty css file is generated.开发者_高级运维

And I have not find any documentation in django-css that says it is able to use with compass. But since it is a fork from django-compressor what has a way to deal with compass style.

So I am wondering here, can I use django-css with compass? If yes, please provide a little tips or hints to use it properly.

Thanks very much.


The recommended way is to not do so.

The Official Compass Website says develop the CSS on the development machine and commit the CSS to source control, then treat it just as CSS once it's committed and give it to django-css.

0

精彩评论

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