简体   繁体   中英

Jekyll: File to import not found or unreadable?

I'm developing a website using Jekyll and the sass imports aren't working correctly, I have tried changing the default _sass directory and changed the names of the files but nothing seems to work?

Any help appreciated!!

My files are as follows:

config.yml
    sass:
      sass_dir:assets\css


assets\css\3-sections\_-sections-dir

In my all.sass file

@import"3-sections\_-sections-dir"

我解决了这个问题,在我的'_-sections-dir'文件的开头有6个破折号,我删除了该破折号并使其正常工作。

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM