Skip to content

Latest commit

 

History

History
31 lines (19 loc) · 549 Bytes

README.md

File metadata and controls

31 lines (19 loc) · 549 Bytes

gears-sass

SCSS compiler for Gears.

Installation

Install gears-sass with pip:

$ pip install gears-sass

Requirements

Usage

Add gears_sass.SASSCompiler to environment's compilers registry:

from gears_sass import SASSCompiler
environment.compilers.register('.scss', SASSCompiler.as_handler())

If you use Gears in your Django project, add this code to its settings:

GEARS_COMPILERS = {
    '.scss': 'gears_sass.SASSCompiler',
}