epicmaxco / epic-spinners

Easy to use css spinners collection with Vue.js integration
https://epic-spinners.epicmax.co
3.84k stars 357 forks source link

IE11 Problem with running compiled code #26

Closed w3q closed 5 years ago

w3q commented 5 years ago

Hello everyone. I started to use epic-spinners in my first Vue project and it works pretty good in FE and Chrome.

The problem is occuring in IE11, when I load the page that is using the spinner, it will throw an syntax error, expecting : in this part of the code.

image

The problem is probably that IE does not allow this sort of syntax and is expecting spinnerStyle: function () {}.

Is there some way to setup webpack to build it this way or how to fix this issue?

w3q commented 5 years ago

I just compiled it with babel.