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
当前路径:http://azwzsj.com/article/jceeio.html