189 8069 5689

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
链接地址:http://cdxtjz.com/article/jceeio.html

其他资讯