2014-02-20 38 views
0

鑑於以下項目結構,netbeans中的基金會sass設置

-source files 
--sites 
---all 
----themes 
-----foundation_subtheme 
------config.rb 
------css 
------scss 
-------_variables.scss 
-------base 
--------_init.scss 

_init.scss文件將不會編譯,因爲找不到以下導入;

// Global Zurb Foundation variables. 

@import "variables"; 
// Comment out this import if you don't want to use normalize. 
@import "normalize"; 
// Comment out this import below if you are customizing you imports below. 
@import "foundation"; 
// Comment out this import if you don't want to use Compass. 
@import "compass"; 

config.rb文件:

http_path = "../" 
css_dir = "css" 
sass_dir = "scss" 

我netbeans的預處理器設置:

input 
-/sites/all/themes/foundation_subtheme/scss 

ouput 
-/sites/all/themes/foundation_subtheme/css 

與這些設置正確使用config.rb?我應該如何重新配置​​這個項目才能編譯?

編輯: 我在cmd中安裝了正確的基礎,並且我正確地指出了config.rb正在被羅盤使用。然而sass編譯器找不到變量。

回答

-1

@import "variables"更改爲變量的完整路徑