Webstorm adds less development plug-ins and webstormless plug-ins

Source: Internet
Author: User

Webstorm adds less development plug-ins and webstormless plug-ins

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

Self-built http://www.tuicool.com/articles/aeye6rY

Everyone knows what it is. Now the popular compiler is koala nodejs. Koala is simple and easy to use. Just configure it after changing the project. Today I will talk about how to compile it with Nodejs. What I will talk about here is the combination of webstorm.

1. Download nodejs, install it, and configure the environment variables.

Successful installation result

2. Install less

Enter

Npm install less-g

Note the path of the less installation result, which will be useful later.

3. Configure less in webstorm.

Open webstorm -- File -- Settings -- Tools -- File Watchers and click the green + button.

I will explain the above content.

Program: select the directory where node.exe is located

Arguments: select the path of the lessc file under the directory recorded earlier, followed by $ FileName $,

Working directory: Do not change

Output...: refers to the storage path of the compiled css, followed by an insert .. you can find it by yourself. This is to set the path for storing the compiled css file and the name and suffix. I will not talk much about it. You will know how to play it yourself.

Thank you!

Related Article

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.