最新消息:雨落星辰是一个专注网站SEO优化、网站SEO诊断、搜索引擎研究、网络营销推广、网站策划运营及站长类的自媒体原创博客

ruby on rails - Add Custom Styles to speee backend - Stack Overflow

programmeradmin2浏览0评论

When trying to add css to the spree admin, i'm adding a new test.css file to vendor/assets/stylesheets/spree/backed directory - which should add styles to the admin area.

When I add any code at all to the new css file, the admin styles disapear.

// vendor/assets/stylesheets/spree/backed/test.css
 h2{color: red} 

The rails console now shows this error:

ActionController::RoutingError (No route matches [GET] "/assets/spree/backend/all-deed0b7192c0c311a733984b9a43b3a1ef9daab896dfac19ea2f36590ec6ddf9.css"):
发布评论

评论列表(0)

  1. 暂无评论