Menu icon Foundation
Foundation 6.4. add javascripts plugin via webpack

Hi, is there some tutorial or steb by step guide how to add new javascripts plugins to foundation 6.4 like this? http://zurb.com/university/lessons/adding-on-to-a-great-foundation

If the scripts isn't modular this method http://foundation.zurb.com/forum/posts/53526-how-to-add-npm-package-js-file-to-foundation-64 doesn't work.

I always run into an issue with not defined jquery.

foundation64webpackjavascript

Hi, is there some tutorial or steb by step guide how to add new javascripts plugins to foundation 6.4 like this? http://zurb.com/university/lessons/adding-on-to-a-great-foundation

If the scripts isn't modular this method http://foundation.zurb.com/forum/posts/53526-how-to-add-npm-package-js-file-to-foundation-64 doesn't work.

I always run into an issue with not defined jquery.

Rafi Benkual over 2 years ago

What plugin are you trying to add? Non es6 libraries need to be imported a different way

Petr Ogurcak over 2 years ago

For example this plugin http://jjcosgrove.github.io/jquery-aniview/

Rafi Benkual over 2 years ago

There may be a more specific way to initialize for webpack - In less than 1 hour - Get answers to your questions on webpack and the ZURB Stack with @kball - https://www.crowdcast.io/e/foundation-open-chat-2