[英]Sass import error in Rails 3 app - “File to import not found or unreadable: compass”
[英]Rails @import compass not found
這是我的application.css:
/*
* This is a manifest file that'll be compiled into application.css, which will include all the files
* listed below.
*
* Any CSS and SCSS file within this directory, lib/assets/stylesheets, vendor/assets/stylesheets,
* or vendor/assets/stylesheets of plugins, if any, can be referenced here using a relative path.
*
* You're free to add application-wide styles to this file and they'll appear at the top of the
* compiled file, but it's generally better to create a new file per style scope.
*
*= require_self
*= require_tree .
*/
@import "compass/reset";
在指南針上重置404:
GET http://0.0.0.0:3000/assets/compass/reset 404 (Not Found)
BTW,運行Rails 3.2.3。 謝謝!
將application.css
重命名為application.css.scss
。
聲明:本站的技術帖子網頁,遵循CC BY-SA 4.0協議,如果您需要轉載,請注明本站網址或者原文地址。任何問題請咨詢:yoyou2525@163.com.