Menu icon Foundation

My Posts

No Content

My Comments

John Chen commented on Scott Greenwald's post almost 3 years

Just want to amend the answer for foundation-rails gem for Foundation 6. To selectively load Foundation JavaScript libraries, you use, for example, //= require foundation.core
So...
//= require foundation.core
//= require foundation.util.mediaQuery
//= require foundation.util.motion
And so on so forth.
 
The complete list of Foundation JavaScript libraries you can include is here: https://github.com/zurb/foundation-rails/tree/master/vendor/assets/js

Posts Followed


Following

    No Content

Followers

My Posts

No Content

My Comments

You commented on Scott Greenwald's post almost 3 years

Just want to amend the answer for foundation-rails gem for Foundation 6. To selectively load Foundation JavaScript libraries, you use, for example, //= require foundation.core
So...
//= require foundation.core
//= require foundation.util.mediaQuery
//= require foundation.util.motion
And so on so forth.
 
The complete list of Foundation JavaScript libraries you can include is here: https://github.com/zurb/foundation-rails/tree/master/vendor/assets/js

Posts Followed

Following

  • No Content

Followers

  • No Content