NPM installs less and is configured in Webstrom

Source: Internet
Author: User
Tags install node

With less, it's easier and quicker than CSS. What are the steps for NPM to install less?

1. Install node. js and configure the environment variables (try not to mount the C drive)

2, then install less, there is no need to install NPM, because the new version of Nodejs has integrated NPM, so no need to download separately, directly on the command line to enter NPM install-g less and then return, and then wait for the installation to complete.

appears, indicating successful installation

3, configure Webstrom, open Webstorm, find File-settings-tools-file watchers, click on the right of the + sign, add less monitoring, pop-up dialog box, such as successful installation, Webstorm automatically configure the path, Do not change the contents of the dialog box, direct OK is good. To this less compiler configuration is complete, you can use in the webstorm in less language, as long as the change and save less file, Webstorm will be automatically compiled, very convenient.

Since then, less has been configured so that it can be used directly.

NPM installs less and is configured in Webstrom

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.