[英]Rails @import compass not found
Here's my application.css: 这是我的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";
Getting a 404 on the compass reset: 在指南针上重置404:
GET http://0.0.0.0:3000/assets/compass/reset 404 (Not Found)
BTW, running Rails 3.2.3. BTW,运行Rails 3.2.3。 Thanks!
谢谢!
将application.css
重命名为application.css.scss
。
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.