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.
Source Distribution
gears-sass-0.1.2.tar.gz
(2.6 MB
view hashes)
Built Distribution
gears_sass-0.1.2-py2.7.egg
(2.6 MB
view hashes)