zurb-foundation Rails gem에 캔버스 외 레이아웃 포함 (Including off-canvas layouts with the zurb-foundation Rails gem)


문제 설명

zurb‑foundation Rails gem에 캔버스 외 레이아웃 포함 (Including off‑canvas layouts with the zurb‑foundation Rails gem)

What is the right way of implementing the Foundation's off‑canvas layouts in a Rails project? 

I am using the zurb‑foundation gem, and tried both version 3.x and 4 (with rails generators). The off‑canvas js/css files do not seem to get included in my pages. Should I be including these manually? 


참조 솔루션

방법 1:

Better late than never.

I just hade this issue and its due to the fact that the zurb‑foundation gem is badly out of date.

Remove:

gem "zurb‑foundation"

Run:

bundle clean ‑F

Add:

gem 'foundation‑rails'

Run:

bundle install

And restart your server.

(by Engin Erdoganmax)

참조 문서

  1. Including off‑canvas layouts with the zurb‑foundation Rails gem (CC BY‑SA 3.0/4.0)

#zurb-foundation #ruby-on-rails






관련 질문

zurb-foundation Rails gem에 캔버스 외 레이아웃 포함 (Including off-canvas layouts with the zurb-foundation Rails gem)

CSS zurb 기초 및 dhtmlx (CSS zurb foundation and dhtmlx)

기초 바닥글이 전체 페이지 너비가 아닙니다. (Foundation footer is not full page width)

slick.js 플러스 파운데이션 이퀄라이저 문제 (slick.js plus foundation equalizer issue)

반응형 웹사이트 드롭다운 양식 문제 (Responsive Website Dropdown form issue)

Foundation 6의 TopBar가 작동하지 않음 (TopBar in foundation 6 not working)

_settings.scss의 변수는 주석 처리되지 않은 상태로 컴파일됩니다. (Variables in _settings.scss are compiled as uncommented)

Foundation for Apps 프로젝트의 양쪽 맞춤 탭 (Justified tabs in Foundation for Apps project)

휴대폰에서 보이지 않는 웹사이트의 일부 (Part of the Website invisible on mobile phone)

Zurb Foundation 구성 요소가 작동하지 않음 (Zurb Foundation components not working)

Foundation 탭이 초기화되었는지 확인하는 방법은 무엇입니까? (How to check if Foundation tabs are initialized?)

Zurb Foundation 균등화 그리드: 그리드 셀 내부의 div 하단에 콘텐츠를 배치하는 방법 (Zurb Foundation equalised grid: how to position content at bottom of div inside grid cell)







코멘트