Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Newer
Older
100644 20 lines (10 sloc) 0.831 kb
a7c25e4 Martino di Filippo Initial commit
authored
1 # connect-less
2
2bea66a Martino di Filippo Updated README
authored
3 A simple [less](http://lesscss.org) middleware for Node's [Connect](https://github.com/senchalabs/connect), able to compile your `.less` files on the fly as needed. Just plug connect-less to your Connect/Express application to let it manage your `.less` -> `.css` conversions automatically.
a7c25e4 Martino di Filippo Initial commit
authored
4
5 ## How do I do it?
6
7 Use [NPM](http://npmjs.org) to install connect-less
8
9 npm install connect-less
10
11 Then load it in your app, specifying the source (and optionally destination) directory
12
d6a3258 Igor Mihalik fixed missing bracket
igm authored
13 app.use(require('connect-less')({ src: __dirname + '/public/' }));
a7c25e4 Martino di Filippo Initial commit
authored
14
15 ## Just that?
16
17 Yes, connect-less will take care of everything.
18
3889cef Martino di Filippo Fixed README
authored
19 If you want, you can read the [docco](http://jashkenas.github.com/docco)-commented source code with the full description of the available options [here](http://martinodf.github.com/connect-less).
Something went wrong with that request. Please try again.