有没有人能够成功让 Foundation for Apps 与 Rails 一起使用。我已通过 Foundation 网站按照说明进行操作,但甚至无法获得一个简单的模块来使用 Off Canvas Menu
!!!
%html{:lang => "en"}
%head
%meta{:content => "text/html; charset=UTF-8", "http-equiv" => "Content-Type"}/
%meta{:charset => "utf-8"}/
%meta{:content => "width=device-width, initial-scale=1.0", :name => "viewport"}/
%title= content_for?(:title) ? yield(:title) : "Bean'n'Gone"
= stylesheet_link_tag 'application'
= javascript_include_tag 'application'
%script{:src => "http://cdn.jsdelivr.net/zurb/foundation-apps-1.1.0.js"}
%script{:src => "http://cdn.jsdelivr.net/zurb/foundation-apps-1.1.0.min.js"}
%script{:src => "http://cdn.jsdelivr.net/zurb/foundation-apps-templates-1.1.0.js"}
%script{:src => "http://cdn.jsdelivr.net/zurb/foundation-apps-templates-1.1.0.min.js"}
= csrf_meta_tags
%body
%zf-offcanvas#menu{:position => "left"}
%a.close-button{"zf-close" => ""} ×
%a.button{"zf-open" => "menu"} Open Off-canvas