LESS compiler for Gears. This package already includes the LESS source code for you, so you don’t need to worry about installing it yourself.
Bundled LESS version: 1.6.3
Installation
Install gears-less with pip:
$ pip install gears-less
Requirements
gears-less requires node.js to be installed in your system.
Usage
Add gears_less.LESSCompiler to environment’s compilers registry:
from gears_less import LESSCompiler
environment.compilers.register('.less', LESSCompiler.as_handler())
If you use Gears in your Django project, add this code to its settings:
GEARS_COMPILERS = {
'.less': 'gears_less.LESSCompiler',
}
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
gears-less-0.3.3.tar.gz
(2.7 MB
view details)
File details
Details for the file gears-less-0.3.3.tar.gz.
File metadata
- Download URL: gears-less-0.3.3.tar.gz
- Upload date:
- Size: 2.7 MB
- Tags: Source
- Uploaded using Trusted Publishing? No
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
d130fda00611b07bf011082969515f2a72dd2a80b41f79dfe9a7c3242ec79675
|
|
| MD5 |
8432ff7aa46bfb208a18e8715d5f6c20
|
|
| BLAKE2b-256 |
79affaf29c364959dff34ef5bcc43bec1c2f089eb8989c0248428b5f4aaac4e5
|