Home >Development Tools >VSCode >How to set up compilation less in vscode
1、到应用商店安装easyless插件。
2、在setting.json中添加配置:
"less.compile": { "compress": false, "sourceMap": false, "out": "${workspaceRoot}\\css\\", // 这里是代表编译后生成的css文件所放的位置 }
3、保存less文件后,重新打开vscode,编译好的css文件就会在指定文件夹下。
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!