在webstorm配置的SASS,插入中文注釋報錯:
cmd.exe /D /C call D:\ProgramFiles\Ruby24-x64\bin\sass.bat --no-cache --update love.scss:D:\2018Learning\MaterialLibrary\CSS-animation\love\css\love.css
error love.scss (Line 19: Invalid GBK character "\xE4")
Process finished with exit code 1
在.scss檔案開頭,加入
@charset "utf-8";
即可解決問題。