sublime将less转换成css
- npm配置:
npm -g install less
- sublime配置:
a. 安装less
b. 安装less2css
c. 配置less2css:
c-1. 解析:
c-2. 代码:{ "autoCompile": true, "createCssSourceMaps": false, "ignorePrefixedFiles": false, "lessBaseDir": "./", "lesscCommand": false, "main_file": false, "minify": false, "minName": false, "outputDir": "./", "outputFile": "", //[example.css] if left blank uses same name of .less file "showErrorWithWindow": true, "autoprefix": false, "disableVerbose":false, "silent":false }
- 测试:
网页题目:sublime将less转换成css
URL地址:http://ybzwz.com/article/jceeio.html