2014-03-06 78 views

回答

11

沒有,require_tree .只會加載資產在本地目錄,因此點require_tree後,指定只有在應用程序資產的文件所在的目錄。如果你想在vendor/assetslib/assets文件,你應該這樣做(或類似的樣式表):(從this question

//= require_tree ../../../vendor/assets/javascripts/. 
//= require_tree ../../../lib/assets/javascripts/. 

相關問題