Closed pablopaul closed 7 years ago
Hmm... @pablopaul can you try moving the line
- "bower_components/foundation-sites/dist/js/plugins/foundation.smoothScroll.js"
Above the magellan line and see if that resolves the issue? If so I think we simply have a documentation issue to address, otherwise I'll keep digging
I just had this error. foundation.smoothScroll.js
has to be included before foundation.magellan.js
(but in your listing, it's after)
@kball Thanks for hinting us in the right direction, I was able to resolve the issue.
Seems that it was helpful that I raised the issue since @gandalfar directly found this and was able to fix also his case. If you are interested how the "issue" came up, read the issue in the origin repo here.
I am using the "drop-in compiled js files" (dist/js) and get the following error when trying to use Magellan:
foundation.magellan.js:286 and following are:
So basically
__WEBPACK_IMPORTED_MODULE_3__foundation_smoothScroll__["SmoothScroll"]
is undefined.My
config.yml
looks like this:When I change the config to import the whole
foundation.js
bundle like thisMagellan is working as expected, what do I miss here?