gpt4 book ai didi

ruby-on-rails - 找不到 Rails @import compass

转载 作者:行者123 更新时间:2023-12-04 03:35:04 24 4
gpt4 key购买 nike

这是我的 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";

在 compass 重置上获得 404:

GET http://0.0.0.0:3000/assets/compass/reset 404 (Not Found)

顺便说一句,运行 Rails 3.2.3。谢谢!

最佳答案

application.css 重命名为 application.css.scss

关于ruby-on-rails - 找不到 Rails @import compass ,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/10626263/

24 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com