SASS compiler for Gears
Project description
gears-sass
==================
SASS/SCSS compiler for Gears.
Installation
------------
Install `gears-sass` with pip:
$ pip install gears-sass
Requirements
------------
- [node.js](http://nodejs.org)
- [node-sass](https://github.com/andrew/node-sass)
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',
}
==================
SASS/SCSS compiler for Gears.
Installation
------------
Install `gears-sass` with pip:
$ pip install gears-sass
Requirements
------------
- [node.js](http://nodejs.org)
- [node-sass](https://github.com/andrew/node-sass)
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',
}
Project details
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Filename, size | File type | Python version | Upload date | Hashes |
---|---|---|---|---|
Filename, size gears_sass-0.1.4-py2.7.egg (1.9 MB) | File type Egg | Python version 2.7 | Upload date | Hashes View |
Filename, size gears-sass-0.1.4.tar.gz (1.8 MB) | File type Source | Python version None | Upload date | Hashes View |