Added an example of how use with compressor.
This commit is contained in:
parent
2d4b0c406d
commit
a5b2129280
|
@ -68,6 +68,12 @@ add it to your ``COMPRESS_PRECOMPILERS`` setting. ::
|
|||
# ...
|
||||
)
|
||||
|
||||
Then you can just use SCSS like you would use CSS normally. ::
|
||||
|
||||
{% compress css %}
|
||||
<link rel="stylesheet" type="text/x-scss" href="{% static 'css/styles.css' %}">
|
||||
{% endcompress %}
|
||||
|
||||
|
||||
Running the tests
|
||||
=================
|
||||
|
|
Loading…
Reference in New Issue