0
這是我第一次嘗試使用基礎導軌。我遵循foundation-rails github上的指導原則,我認爲它已正確安裝。在/application.js/我有臺詞:基金會導航欄沒有正確顯示
//= require foundation
//= require turbolinks
//= require_tree .
$(function(){ $(document).foundation(); });
在/application.css.scss我:
*= require_self
*= require foundation
*= require_tree .
*/
@import "foundation_and_overrides";
/* Add imports of custom sass/scss files here */
不過,我嘗試添加從Topbar抄頂欄,它搞糟完全。 Like this。
不知道發生了什麼?安裝過程中我錯過了一些嗎?
希望有人能幫助我。謝謝。