编译SCSS时出现假阳性“未定义变量”错误
run: /var/lib/gems/1.8/gems/compass-0.12.2/bin/compass compile out: unchanged sass/partial/grid.scss out: error sass/partial/catalog.scss (Line 5: Undefined variable: "$paragraphFont".) out: create css/generated/partial/catalog.css out: create css/generated/partial/base.css out: overwrite css/generated/screen.css
screen.scss
@import "partial/base"; @import "partial/catalog";
base
$paragraphFont
$paragraphFont: 'Lucida Sans', arial; $regularFontSize: 14px;
catalog.scss
.product-view #price-block { p { font-weight: normal; font-family: $paragraphFont; .... } }
$paragraphFont
RISEBY
慕运维8079593
万千封印
相关分类