Jekyll doesn't compile scss files with `jekyll serve`

后端 未结 4 746
我寻月下人不归
我寻月下人不归 2021-02-15 14:10

I\'m trying to create a website using Jekyll, and everything worked fine. Until I wanted to custom the design.

I\'ve updated my css/main.scss in order to in

4条回答
  •  时光说笑
    2021-02-15 15:17

    Ok, I get it !

    You have a css/main.css files that is copied as a static file in _site/css/main.css.

    The problem is that it has the same name as the css/main.scss target which is also _site/css/main.css.

    So at first build :

    • css/main.scss is processed to main.css
    • then, when static files are copied, it is overridden by css/main.css.

    Solution : delete css/main.css

提交回复
热议问题