【问题标题】:how can i prevent spree from loading default screen.css如何防止狂欢加载默认 screen.css
【发布时间】:2011-10-31 21:11:16
【问题描述】:

如何防止 spree 默认加载“screen.css”? 我尝试使用以下方法创建初始化程序:

Spree::Config.set(:stylesheets => "spree")

(我在 /app/assets/stylesheets/store/ 中有 spree.css) 但它没有用。

我正在使用 spree 0.70

【问题讨论】:

    标签: ruby-on-rails stylesheet spree


    【解决方案1】:

    Spree 仍在加载 store/all.css 中描述的样式表

    删除带有“spree_core.css”的行有帮助

    【讨论】:

      猜你喜欢
      • 1970-01-01
      • 1970-01-01
      • 2012-03-30
      • 2021-12-28
      • 1970-01-01
      • 2011-03-31
      • 1970-01-01
      • 1970-01-01
      相关资源
      最近更新 更多