克隆我的git repo後,我的應用程序被破壞。我修復了它(刪除了bootstrap_and_overrides.css.less),現在我可以實際看到這些頁面,但下拉列表和選項卡已損壞。這讓我覺得引導響應,出於某種原因,沒有被加載。以下是我覺得是罪魁禍首。bootstrap響應中斷
的Gemfile
gem 'rails', '~> 3.2.6'
gem 'bootstrap-sass', '~> 2.0.4.0'
gem 'less', '~> 2.2.0'
的application.js
//= require bootstrap
//= require_tree .
//= require jquery_ujs
//= require jquery-ui
bootstrap_and_overrides.css.scss
$iconSpritePath: image-path('/glyphicons-halflings.png');
$iconWhiteSpritePath: image-path('glyphicons-halflings-white.png');
$navbarBackground: #555;
$navbarBackgroundHighlight: #888;
$navbarText: #eee;
$navbarLinkColor: #eee;
@import "bootstrap";
body { padding-top: 60px; }
@import "bootstrap-responsive";
伊克, 請幫助?
這只是一個愚蠢的問題?我不清楚嗎?誰能幫我? – planetP