Persisting SCSS variables in rails asset pipeline?

前端 未结 4 778
被撕碎了的回忆
被撕碎了的回忆 2021-01-01 14:56

I\'m upgrading a rails app with lots of SCSS stylesheets to use the asset pipeline, and need to include some global variables and mixins for each file.

Adding severa

4条回答
  •  清酒与你
    2021-01-01 15:17

    Replace require with @import and remove any = require even if you think you've commented it out.

提交回复
热议问题