Home > Development Tools > VSCode > body text

How to set up compilation less in vscode

爱喝马黛茶的安东尼
Release: 2019-12-06 11:35:51
Original
3656 people have browsed it

How to set up compilation less in vscode

1、到应用商店安装easyless插件。

2、在setting.json中添加配置:

"less.compile": {
    "compress": false, 
    "sourceMap": false, 
    "out": "${workspaceRoot}\\css\\",   // 这里是代表编译后生成的css文件所放的位置
}
Copy after login

3、保存less文件后,重新打开vscode,编译好的css文件就会在指定文件夹下。

How to set up compilation less in vscode

PHP中文网,有大量免费的vscode入门教程,欢迎大家学习!

The above is the detailed content of How to set up compilation less in vscode. For more information, please follow other related articles on the PHP Chinese website!

Related labels:
source:php.cn
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