alex-oleshkevich / vue-introjs

intro.js bindings for Vue.
MIT License
301 stars 53 forks source link

Not working on IE 11 #18

Closed rosemalejohn closed 6 years ago

rosemalejohn commented 6 years ago

Vue introjs is not working correctly on IE 11. So it causes my site to display white screen. Is there any polyfills I need to add to make it work on IE/Safari?

image

alex-oleshkevich commented 6 years ago

what is the message in "Console" tab?

On Thu, Mar 15, 2018 at 10:21 AM, Rosemale-John II C. Villacorta < notifications@github.com> wrote:

Vue introjs is not working correctly on IE 11. So it causes my site to display white screen. Is there any polyfills I need to add to make it work on IE/Safari?

[image: image] https://user-images.githubusercontent.com/6297503/37449254-91585996-2864-11e8-917a-7caaf8901582.png

— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/alex-oleshkevich/vue-introjs/issues/18, or mute the thread https://github.com/notifications/unsubscribe-auth/AAmzyEanXnSTjRakpSJ0cj4nEcy-uAaiks5tehaTgaJpZM4SrqgI .

-- Sincerely, Alex Oleshkevich

enekesabel commented 6 years ago

@rosemalejohn I had the same problem, importing the plugin from 'vue-introjs/dist/index.min' solved my issue. When using the default import, the plugin is imported from the src folder, and idk why it won't be transpiled to ES5. Maybe some changes to the plugins module structure could resolve this issue permanently.

rosemalejohn commented 6 years ago

I have solved the issue by using the minified file. I add an alias on my webpack configuration to load the vue-introjs min file on node modules dist folder.