项目作者: ChillyBwoy

项目描述 :
SCSS compiler for Gears
高级语言: Python
项目地址: git://github.com/ChillyBwoy/gears-sass.git
创建时间: 2012-09-25T14:23:01Z
项目社区:https://github.com/ChillyBwoy/gears-sass

开源协议:ISC License

下载


gears-sass

SCSS compiler for Gears.

Bundled node-sass version: 0.8.6

Installation

Install gears-sass with pip:

  1. $ pip install gears-sass

Requirements

Usage

Add gears_sass.SASSCompiler to environment‘s compilers registry:

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

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

  1. GEARS_COMPILERS = {
  2. '.scss': 'gears_sass.SASSCompiler',
  3. }