Webstorm Add less development plugin

Source: Internet
Author: User

Original http://a317222029201405212739.iteye.com/blog/2174140

Quoted Http://www.tuicool.com/articles/aeye6rY

Less everyone knows what, now the more popular compiler is koala Nodejs to solve. Koala not much to say that easy to use is also simple to change the project after the configuration of the line, today I will say with Nodejs how to compile, I said the following is for webstorm cooperation.

1, download the Nodejs, and install the environment variable under configuration.

Installation Success Results

2, install less

Enter in cmd

NPM Install Less-g

Less installation results, remember that path, which will be useful later.

3, configure less in Webstorm.

Open webstorm--file--settings--tools--file watchers, dot that green + button

I'll explain what's above.

Program: Select the directory where the Node.exe is located

Arguments: Select the path where the Lessc file is located under the previously recorded directory, plus $filename$,

Working directory: No change

Output ...: Refers to the stored path of the compiled CSS, followed by an insert. The button, you explore it, this place is to set the compiled CSS file to store the path and what name and suffix. I will not say more, we have to play on their own to know.

Thank you

Webstorm Add less development plugin

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.