0

尝试编译(lessc bootswatch.less > bootstrap.css)全新安装的 Bootswatch 时出现此错误:

[...] 错误评估函数fadein:对象 # 没有方法“toHSL”(Less::Parse 错误)。

上周还在工作。。

4

1 回答 1

0

另请参阅较少的未定义方法错误

bootswatch 文件应该和 Bootstrap 一起编译。因此创建一个 index.less 文件,其中包含以下代码:

@import "bootstrap.less"; //from the Bootstrap source code
@import "variables.less"; //from your bootswatch theme
@import "bootswatch.less";

然后编译该文件:lessc index.less > bootstrap.css

于 2014-11-06T17:52:00.773 回答