On the internet to see a lot of configuration ideas, their own summary of the following,
The order of my personal configuration and materials to share, Webstrom hereinafter referred to as WB
1, configuration less need to install Nodejs, self-installation. Because NPM needs to be used. I directly unzip the NPM to the C packing directory, first download and unzip
NPM Decompression Package Baidu Cloud: Http://pan.baidu.com/s/1bpdnmGZ
(Yuicompressor-2.4.2.jar This is the WB configuration let CSS or JS automatically generated. MINCSS/.MINJS compression tool, not a tool to configure less Oh,
Use very simple without decompression, than I placed directly in the C packing directory
Baidu Plate: HTTP://PAN.BAIDU.COM/S/1HSRQIB6)
2, open wb-settings (settings)-tools-file watcher such as (I configured, so there are three check marks in the middle, no configuration is blank)
3. Click on the + sign in the top right corner and you will see
4, select click Less, pop-up, and then click on the green Small Circle This is the above 1 npm decompression path, if you unzip again here, with the following the same can be
5, click OK if the configuration is OK
6, the following is how to configure the automatic compression tool, here will be used to 1 mentioned in the Yuicompressor-2.4.2.jar, their own download save good
A ibid open WB find that + number
b Choose Yui Compressor CSS, auto compression css,js Similar is the one under it
C Click After, like, click on the green Small circle, I put Yuicompressor-2.4.2.jar in the C packing directory, so my path is as follows
Click on Ko to configure the following
About webStrom-11.1 configuration less and automatically generate. css and auto-compression for. Min.css/.min.js