SASS global variables not being passed to partials

后端 未结 5 1962
被撕碎了的回忆
被撕碎了的回忆 2020-12-14 01:40

Basically I have a structure that used to work perfectly in 3.0.x and now it breaks with undefined variable errors.

  • partials
    • _base.css.sa
5条回答
  •  执念已碎
    2020-12-14 02:14

    It's a sass file. Use @import in application.css.sass instead of require. require is for plain css or template engines that don't have an import system.

提交回复
热议问题