Swiper: What is the latest version that supports Internet Explorer?

Created on 21 Oct 2019  路  8Comments  路  Source: nolimits4web/swiper

I see that IE support has been dropped in https://github.com/nolimits4web/swiper/blob/master/CHANGELOG.md#swiper-500---released-on-september-17-2019

So I installed ^4.0.0 which is resolved to 4.5.3 atm and there's still the same issue in IE11 - syntax error.

What is the latest version that supports Internet Explorer?

All 8 comments

4.x

Do you want to ask a question? Are you looking for support? Stack Overflow is the best places for getting support

Please, don't use GitHub issues for questions

@limonte do you resolved the issue? I experience the same.

@pmaas by using two different versions, v4 for IE and v5 for everything else:

image

@limonte thanks for your fast answer! But how have you resolved the syntax error issue on IE11 (with swiper: ~4.5)?

Ok, figured it out. I only included the node_modules/swiper package in my babel-loader config, but I had to also include node_modules/dom7:

{
    test: /\.js$/,
    exclude: /node_modules\/(?!(swiper|dom7)\/).*/,
    use: {
        loader: 'babel-loader',
        // ...
    }
}

Now it works :)

@limonte when you can babel, you can add swiper and dom 7 , it work in ie11

Ok, figured it out. I only included the node_modules/swiper package in my babel-loader config, but I had to also include node_modules/dom7:

{
    test: /\.js$/,
    exclude: /node_modules\/(?!(swiper|dom7)\/).*/,
    use: {
        loader: 'babel-loader',
        // ...
    }
}

Now it works :)

yes, i also use it ,it work in ie

Was this page helpful?
0 / 5 - 0 ratings

Related issues

RyanGosden picture RyanGosden  路  3Comments

callumacrae picture callumacrae  路  3Comments

QJan84 picture QJan84  路  3Comments

danielcpereira11 picture danielcpereira11  路  4Comments

syedongit picture syedongit  路  3Comments