sublime将less转换成css

  1. npm配置:
    npm  -g  install  less
  2. sublime配置:
    a. 安装less
    b. 安装less2css
    c. 配置less2css:
    c-1. 解析:
    sublime将less转换成css
    sublime将less转换成css
    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
    }
  3. 测试:
    sublime将less转换成css

当前题目:sublime将less转换成css
网站URL:http://abwzjs.com/article/jceeio.html