2014-11-05 71 views
0

我得到在編譯的時候這個錯誤(lessc bootswatch.less > bootstrap.css)全新安裝Bootswatch的:Bootswatch.less編譯錯誤

[...]錯誤評估函數fadein:對象#有沒有方法「toHSL '(Less :: Parse Error)。

這是上週的工作..

+0

http://stackoverflow.com/questions/17838107/lessc-using-ruby-instead javascript- – danidewitt 2014-11-05 19:07:20

回答

0

less undefined method error見。

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

+0

它最終成爲編譯器路徑之間的衝突。謝謝。 – danidewitt 2014-11-07 20:46:36