gpt4 book ai didi

css - 无法识别对 _settings 的更改

转载 作者:行者123 更新时间:2023-11-28 08:50:10 25 4
gpt4 key购买 nike

我已经建立了使用 Compass 进行编译的基础框架。一切正常,只是对 _settings 文件的更改未编译到我的 app.css 中。

那是我的(几乎)原始的 app.scss 文件:

@import "settings";
@import "custom/settings";
@import "foundation";

如果我更改 _settings.scss 文件,Compass 会显示以下信息:

>>> Compass is polling for changes. Press Ctrl-C to Stop.
>>> Change detected at 10:23:56 to: _settings.scss
identical stylesheets/app.css

这意味着它看起来像 @import 命令被识别 但它不会导致编译的 app.css 中的任何更改。事实上,CSS 并没有改变。 “自定义/设置”文件已正确导入并编译为 app.css。

有没有人告诉我这里出了什么问题?

最佳答案

除非您使用 Ruby 或类似工具,否则这似乎不受支持。

http://sass-lang.com/documentation/file.SASS_REFERENCE.html#import

关于css - 无法识别对 _settings 的更改,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/27397415/

25 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com