Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How do I compile LESS code using Brackets?

I use Brackets as my text editor. How can I compile and convert my LESS code into CSS?

The following is a link from where I downloaded the LESS compiler but I don't know how to convert my code into CSS.

https://github.com/jdiehl/brackets-less-autocompile

like image 366
Chirag Bhansali Avatar asked Nov 20 '25 08:11

Chirag Bhansali


1 Answers

You can install less-autocompile extension directly in Brackets using the second icon at the right of the editor. (I guess you are using last version of Brackets).

By default, when you save a less file, it will look for every .less file and compile them to .css files. If you want to produce a single .css file, you'll have to add lines at the top of your less files.

like image 140
Rictus Avatar answered Nov 23 '25 02:11

Rictus