Closed loranger closed 9 years ago
Hi, I still haven't made itemslide compatible with Browserify but i will add this with a guide on how to setup. In the mean time you can include itemslide globally as a script tag.
@nir9 maybe just something like this
if (typeof exports === 'object') {
module.exports = Itemslide;
}
...is enough for browserify? And no need to include that polyfill and separate into modules.
Vanilla is no longer supported. ItemSlide requires jQuery or Zepto. If you want it with Browserify just include ItemSlide and jQuery globally as a script tag.
I'm trying to make itemslide work within a vue.js app. I used npm in order to install itemslider, then with browserify I tried
but it didn't work because I don't use/need jQuery.
So i did copy the itemslide.vanilla.min.js inside my app and tried to
but it failed because
itemslide is not a function
.I tried
and
but none works.
Did I miss somethnig ? Is there any clue on using vanilla itemslide and browserify ?