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.
精彩评论