【问题标题】:sccs mixins folder is not accepted by preprocessor预处理器不接受 sccs mixins 文件夹
【发布时间】:2017-09-25 17:40:43
【问题描述】:

我已经设置了我自己的 (Bootstrap 3) scss mixins,因为它是在 Bootstrap 本身中完成的: 我的 scss 文件夹(模板)中的 mixin 文件夹。像这样:

-scss (with template.scss)
-- bootstrap
-- template/mixins

在文件 template.scss 中链接它:@import "template/mixins";

Prepros 不接受它:“找不到或无法读取要导入的文件:模板/mixins”。

如何设置?

【问题讨论】:

    标签: sass


    【解决方案1】:

    找到了。该文件夹已正确设置,但相应的 @import 未正确设置。一级太高了。 @import mixins 不应该在 template.scss 中,而应该在模板文件夹本身中作为 _mixins.scss

    【讨论】:

      猜你喜欢
      • 1970-01-01
      • 2014-07-27
      • 1970-01-01
      • 2015-09-16
      • 2019-06-22
      • 2022-10-12
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      相关资源
      最近更新 更多