关于gruntjs:Foundation Sass Install App.css错误

Foundation Sass Install App.css error

按照说明下载sass Foundation版本。 (http://foundation.zurb.com/docs/sass.html)

我在app.css中不断收到以下错误

1
2
3
4
Syntax error: File to import not found or unreadable: foundation/_functions.
Load path: /Users/xxx/Desktop/sandbox/app
on line 13 of scss/_settings.scss
from line 1 of ./scss/app.scss

有什么想法吗?


在Foundation文件夹中应该有一个名为_functions的文件。名称前面的下划线表示它是部分文件,并使用@import编译为app.css。

1:检查_functions是否在基础文件夹中

2:如果是,请检查您的导入路径

3:如果不是,请尝试再次下载Foundation

仅作为提示,我喜欢使用一个名为Mixture.io的应用程序。除了具有许多自己的功能以外,它还使设置Foundation项目变得很困难。

希望这会有所帮助。