Search code examples
gulpzurb-foundationzurb-foundation-6

Using Gulp | Foundation 6 dropdown does not work


Foundation dropdown errors out. It does not work. Gives this error:

TypeError: Cannot read property 'Feather' of undefined(…)
(anonymous function) @ foundation.js:1706
each @ foundation.js:77
each @ foundation.js:46
(anonymous     function) @ foundation.js:1705
each @ foundation.js:77
reflow @ foundation.js:1702
foundation @ foundation.js:1718
(anonymous function) @ results:271

I'm using gulp to put all the scripts together.

This problem shows when I include dropdown menu.


Solution

  • You need to include foundation.util.nest.js in your build.