【问题标题】:Compiling .scss file with compass individually to specific path使用指南针将 .scss 文件单独编译到特定路径
【发布时间】:2014-11-25 18:07:47
【问题描述】:

当我这样做时:

compass compile app/css/libraries/bootstrap/bootstrap.scss

它将将该文件编译为:

app/css/libraries/bootstrap/bootstrap.css

在编译单个文件时,有没有办法告诉 compass 将文件编译到特定目录?比如:

compass compile app/css/libraries/bootstrap/bootstrap.scss:app/css/bootstrap.css

【问题讨论】:

    标签: sass compass-sass


    【解决方案1】:

    您可以通过 CLI 覆盖任何 Compass config properties,因此在这种情况下您可以执行以下操作:

    compass compile app/css/libraries/bootstrap/bootstrap.scss --css-dir=app/css
    

    【讨论】:

      猜你喜欢
      • 2014-12-20
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 2017-11-03
      • 2012-08-20
      • 2014-06-03
      相关资源
      最近更新 更多