Sass編譯scss時報錯,
報錯代碼:
Error: Invalid CSS after "temp.scss": expected "{", was ""
on line 1 of C:\Users\Administrator\temp\temp.scss
Use --trace for backtrace.
SCSS代碼:
$fontSize: 12px;
@function count($n){
@return $n*2
}
body{
font-size:$fontSize;
width: count(200px);
}
上網找不到這個原因的解決方法,來這裡提問看看有沒有大神知道該怎麼解決