【问题标题】:susy sass mixin errorsusy sass 混合错误
【发布时间】:2023-03-19 06:27:01
【问题描述】:

我已经使用本教程设置了 susy sass 和 gulp:https://zellwk.com/blog/gulp-libsass-with-susy/ 我不能使用像 @include span(12 of 16) 这样的任何 mixin;因为它总是抛出如下错误: 事件.js:182 投掷者; // 未处理的“错误”事件 ^ 错误:sass\framework_header.scss 错误:没有名为 span 的 mixin

   Backtrace:
    sass/framework/_header.scss:4
    on line 4 of sass/framework/_header.scss
    @include span(12 of 16);

------------------^

at options.error (C:\bitbucket\encore\themes\encore\node_modules\node-sass\lib\index.js:291:26)

我怎样才能让它工作?

【问题讨论】:

    标签: sass gulp susy


    【解决方案1】:

    意识到为什么会出现此错误。 Susy 3 安装在我的系统上,我不知道所有 susy @include 等现在都已更改。所以不是@include span(12 of 16),而是 width: span(3);

    【讨论】:

      猜你喜欢
      • 1970-01-01
      • 2015-01-20
      • 2021-08-23
      • 1970-01-01
      • 1970-01-01
      • 2012-11-28
      • 1970-01-01
      • 1970-01-01
      • 2017-10-02
      相关资源
      最近更新 更多