我似乎无法弄清楚我做错了什么。我添加了自定义文件。我试图覆盖当前的那些。
application.css.scss
@import 'bootstrap-sprockets';
@import 'bootstrap';
/*
* 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 bottom of the
* compiled file so the styles you add here take precedence over styles defined in any styles
* defined in the other CSS/SCSS files in this directory. It is generally better to create a new
* file per style scope.
*
*= require_tree .
*= require_self
*/
我应该能够正确添加另一个样式表吗?
答案 0 :(得分:0)
我必须做的是添加
@import '<insert file name here>'
然后工作了。