【问题标题】:bootstrap 3 less compile error with simplessbootstrap 3 less 编译错误与简单
【发布时间】:2014-02-28 03:56:46
【问题描述】:

我正在使用引导程序来设计一个网站。我从他们的网站下载了最新版本的 less 编译器 simpless。当我尝试编译 bootstrap.less 时,我得到了这个

“第 83 行 carousel.less 中的语法错误”。

或者当我尝试将 bootstrap.less 导入到我的自定义 less 文件中时

@import 'bootstrap/bootstrap.less'

它给了我另一个错误

“e.message 上 expressin styles.less 的结果”[undefined] 不是对象” 为什么会出现这个错误

【问题讨论】:

    标签: twitter-bootstrap less


    【解决方案1】:

    SimpLESS v1.x 使用了与 Bootstrap 3 不兼容的非常古老的 LESS 编译器版本。升级到SimpLESS 2 或考虑alternatives

    【讨论】:

    • CrunchApp 很棒。从 repo、最新版本而不是站点中获取副本,因为它落后一两个版本。此外,适用于 Mac 的 CodeKit 也很棒。成本 28.00 但值得每一分钱。
    • 谢谢大家@ChristinaArasmoBeymer 我下载了crunch。 CodeKit 不是我的选择。我正在使用 PC :(。我发现了一个很棒的编译器 alphapixels.com/prepros
    猜你喜欢
    • 2014-08-26
    • 1970-01-01
    • 2012-11-11
    • 1970-01-01
    • 2015-11-15
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    相关资源
    最近更新 更多