vue-awesome-swiper icon indicating copy to clipboard operation
vue-awesome-swiper copied to clipboard

Doesn't work in ie11

Open strukove opened this issue 4 years ago • 11 comments

Reproduction Link

  • https://github.surmon.me/vue-awesome-swiper/

Steps to reproduce

Open your examples in ie11. They doesn't work.

What is Expected?

Plugin works in ie11 browser, or it is mentioned in documentation that it doesn't in huge black letters)

What is actually happening?

It throws error SCRIPT1003: Expected ':' in console and blocks all following js code.

strukove avatar Jun 23 '20 08:06 strukove

This issue was mentioned here https://github.com/surmon-china/vue-awesome-swiper/issues/216 But it was not fixed...

strukove avatar Jun 23 '20 08:06 strukove

To fix the issue you need to transpile dom7 and swiper plugins. Please add it to documentation before closing this issue. In vue.config.js it looks this way

transpileDependencies: [ 'dom7', 'swiper' ],

strukove avatar Jun 23 '20 10:06 strukove

Does the above solution mention solve the issue for IE11. I have implemented the same but it did not work for my case. Your help will be appreciated.

aridee2990 avatar Jun 26 '20 22:06 aridee2990

Does the above solution mention solve the issue for IE11. I have implemented the same but it did not work for my case. Your help will be appreciated.

Well, what I did was upgrading vue cli together with vue itself to latest version and then adding transpile dependencies to vue.config.js. That's it.

strukove avatar Jun 29 '20 08:06 strukove

@aridee2990 Did you manage to make it work? I am currentl facing the same issue in IE11, adding the transpileDependencies did not do the trick for me.

herpster avatar Jul 06 '20 08:07 herpster

Facing the same issue, any final solution?? did older version of vue-awesom-swiper worked with IE?

sa-rang avatar Jul 08 '20 05:07 sa-rang

Update swiper to 6.0.2 will solve this problem.

llk2yq avatar Jul 10 '20 03:07 llk2yq

Use the old version of swiper 4 and vue-awesome-swiper v3.1.3 to run.

pgkusn avatar Jul 20 '20 04:07 pgkusn

Update swiper to 6.0.2 will solve this problem.

Later swiper version doesn't work with Vue directive for SSR. Hence upgrading swiper beyond 5.4.5 became not a option :(

laksmaria avatar Aug 12 '20 12:08 laksmaria

@laksmaria did you find any solution ? i'm having the same issue. And i'm working with Vue directive so i can't upgrade to 6.0.2..

kalouini avatar Sep 15 '21 10:09 kalouini

To fix the issue you need to transpile dom7 and swiper plugins. Please add it to documentation before closing this issue. In vue.config.js it looks this way

transpileDependencies: [ 'dom7', 'swiper' ],

not work for me! 5555

szy1000 avatar Dec 26 '21 15:12 szy1000