Compile LESS file into CSS Bootstrap 3

16,660

Solution 1

  1. Install node.js
  2. Install the Less compiler: npm install -g less
  3. Run the Less compiler on your Less source to produce CSS: lessc your-source.less > output.css More info: http://lesscss.org/#using-less

Solution 2

If you are using WebStrom IDE, then it has a plugin for LESS to compile. I have been using the plugin to compile the LESS over a year.

Share:
16,660
CodeTrooper
Author by

CodeTrooper

28, Product and Program Manager, with over 7 years of experience building complex cloud software solutions using MSFT Azure, GCP and AWS. Familiar with AI projects, web development, mobile hybrid development. Have worked on small, medium and large projects that range form a few thousands to ~$30million. I'm the person you call when you need to streamline requirements, meet deadlines, plan successful iterations and lead several teams of cross-functional people. #SOReadyToHelp

Updated on June 19, 2022

Comments

  • CodeTrooper
    CodeTrooper almost 2 years

    I have a LESS file which I want to compile to use as my bootstrap theme. How can I compile it? Is there a place where I can do this?

    The less FILE comes from http://bootswatchr.com/ but when I click the link get CSS and choose either minified version or complete version, nothing happens.

    I have the LES file from the left pane, is there a way I can still compile it?

  • AnthonyR
    AnthonyR over 8 years
    Today, SimpLESS is deprecated. They stopped to update their software so now the new features provided by Less (1.4) are unrecognized.
  • Aibrean
    Aibrean over 8 years
    I would assume most people on here would recognize the post date and do some research :) Bootstrap is getting rid of native LESS anyway with B4.
  • AnthonyR
    AnthonyR over 8 years
    It was just to inform because I tried, it's a pity because SimpLESS was a great software.