【问题标题】:Foundation SCSS compile error but everything works? [duplicate]Foundation SCSS 编译错误但一切正常? [复制]
【发布时间】:2014-08-26 16:02:39
【问题描述】:

我正在使用 Foundation 的 scss 版本并使用 Grunt 编译所有内容。我在编译时遇到错误,但似乎一切正常?

例如:

@include clearfix(); 抛出一个错误说 Undefined mixin 'clearfix'. 但我得到了想要的结果。

@extend .show-for-small; 抛出一个错误说 (Line 4: ".loan-calculator .loan-calc-small" failed to @extend ".show-for-small". The selector ".show-for-small" was not found. Use "@extend .show-for-small !optional" if the extend should be able to fail.) 但我又得到了想要的结果。

好像错误是错误的。

我做错了什么?

【问题讨论】:

  • 这是否刚刚开始在现有项目中发生?还是它一直这样做?

标签: sass zurb-foundation


【解决方案1】:

我的部分文件名没有以下划线开头

【讨论】:

    猜你喜欢
    • 1970-01-01
    • 2023-03-27
    • 1970-01-01
    • 1970-01-01
    • 2018-07-28
    • 2014-08-27
    • 2014-08-06
    • 1970-01-01
    • 2012-08-15
    相关资源
    最近更新 更多