When using sublime Text3, after installing LESS2CSS, as many people think it's done, start to run the compile less file, and the results start to discover
So start searching for problems and solutions, and then you have the following solution 1
Scenario 1: Through window path + less.js-windows (online can quickly find the way to solve this)
Note: Under the Windows operating system, you will often see the final compile less, and a "for install see Less-plugin-clean-css" error pops up, It seems like all the Windows operating systems are like this (at least window7 and window8.1) because there is a problem compressing the CSS, and if we change the parameters of the LESS2CSS, we can let the error prompt not show. Figure below
life is always very painful, sometimes can not do one,run angwhere, you understand. Under window sometimes even if the scheme can not be implemented, so there will be a Formula two derivative, because the method is always more than the problem. The method was simple and convenient after being tested by myself.
Scenario 2:NODE+NPM Global installation less easy to solve problems
1.NPM Install LESS-G: Global installation Less (make sure you have the NODE.JS+NPM environment installed)
2. Detect if less is installed globally (note the difference between the front and back)
3. Compiling less files
The above two schemes can basically solve the problem of LESS2CSS compilation in window environment. If scenario 1 does not work, you can try scenario two, scenario two will be more suitable, because some of the sublime plug-ins are actually to be supported by the node environment, such as autoprefixer such plug-in is required you install node.