我刚刚使用Yeoman 生成器启动了一个新的 jekyll 项目 ,它是使用 sass ut 配置的,但我无法使其工作
我在 _sass 文件夹中只有一个文件,它是以 main.scss 开头
@charset "utf-8";
但是当我启动 grunt serve 我得到这个:
Running "copy:stageCss" (copy) task
[D] Task source: /Users/alexandresagette/Development/jekyll-site/node_modules/grunt-contrib-copy/tasks/copy.js
Verifying property copy.stageCss exists in config...OK
Options: encoding="utf8", processContent=false, processContentExclude=[], mode=false
Done, without errors.
Execution Time (2015-04-11 16:12:10 UTC)
loading tasks 1.1s ▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇ 99%
copy:stageCss 8ms ▇ 1%
Total 1.1s
Warning: Error: Invalid CSS after "@charset "utf-8"": expected "{", was ";"
on line 4 of app/_sass/main.scss
Use --trace for backtrace. Use --force to continue.
Aborted due to warnings.
gruntfile 可以在这里找到:https ://github.com/robwierzbowski/generator-jekyllrb/blob/master/app/templates/Gruntfile.js
有人能帮助我吗 ?