Home > Development Tools > sublime > body text

How to automatically compile less into css in Sublime Text3

藏色散人
Release: 2019-10-17 16:10:30
forward
3104 people have browsed it

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!

How to automatically compile less into css in Sublime Text3

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
Copy after login

3. Sublime install less2css, method:

ctrl+shift+p>install Package>less2css
Copy after login

4. Configure less2css

Preferences → Package Settings → Less2Css → Settings-Default
Copy after login

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!

Related labels:
source:segmentfault.com
Statement of this Website
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn
Popular Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template