Express.js extension to render LessCSS (.less) files server-side :)
Less4Clients allows Express.js to render
.less files when
?css is appended to their urls.
npm install less4clients
// Include Less4Clients;less4clients = ;// Setup with your Express Serverless4clients;
With Node.js in CoffeeScript
# Include Less4Clientsless4clients = require 'less4clients'# Setup with your Express Serverless4clientscreateInstanceserver: null # your express server (required)publicPath: '...' # the full path to your server root (required)missingAction: false # the action to forward to when a file is not foundcache: false # whether the responses should be cachedcompress: false # whether the output should be compressed