레일 3.1의 개발 환경에서 CSS는 원하는 순서대로 알파벳 순서로로드됩니다. 나는 특정 CSS 파일이 끝에 있기를 원하기 때문에 클래스에 주어진 스타일을 덮어 씁니다. 우리는 어떻게 그것을 성취 할 수 있습니까?레일 3.1 특정 순서로 CSS를로드
/*
* This is a manifest file that'll automatically include all the stylesheets available in this directory
* and any sub-directories. 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 reset
*= require groups
*= require the_last
*
가장 간단한 트릭은 이름을 바꾸는 것입니다. 'zzz-the_last.css' –
나는 지금도 똑같이했다. 하지만 그건 해킹입니다 !! Rails 방식이 있습니까? – phoenixwizard