Home > Article > Development Tools > How to automatically compile less into css in Sublime Text3
The following column sublime tutorial will introduce to you the method of automatically compiling less into css in Sublime Text3. I hope it will be helpful to friends in need!
Steps to use sublime text’s less2css plug-in:
1. Install node.js, download this from the official website
2. Install less, method: command line input:
npm install -g less
3. Sublime install less2css, method:
ctrl+shift+p>install Package>less2css
4. Configure less2css
Preferences → Package Settings → Less2Css → Settings-Default
5. Execute
After writing the less file and pressing ctrl s, a css file with the same name will be generated in the current directory.
The above is the detailed content of How to automatically compile less into css in Sublime Text3. For more information, please follow other related articles on the PHP Chinese website!