Menu icon Foundation
Recommended way to add js plugin

Hello everybody!

What is the recommended way to add a javascript plugin to foundation 6?
Like an open source lightbox or something like mixitup.js.

I'm using the Foundation cli and the foundation for sites template.

Right now i'm just linking the javascript manually into the page and placing the js file manually into the js folder.
But assets don't get copied over when I build a site for production.

Any ideas?

Thanks!

plugin javascript

Hello everybody!

What is the recommended way to add a javascript plugin to foundation 6?
Like an open source lightbox or something like mixitup.js.

I'm using the Foundation cli and the foundation for sites template.

Right now i'm just linking the javascript manually into the page and placing the js file manually into the js folder.
But assets don't get copied over when I build a site for production.

Any ideas?

Thanks!