Less CommandsTo install Less on the server via NPM: To invoke the compiler from the command-line, after installing Less: To compile the Less file and generate CSS: To get minified CSS as output, you can use the clean-css plugin. After the installation of that plgin, a minified CSS output is specified with --clean-css option: To get CSS output on Console: Syntax: Output: Pass options to the compiler: Syntax: Important Tips:
Next TopicLess Installation
|