Reputation: 3797
I have a Vue.js-based application which works fine in all browsers. Except, you guessed it...
When I try to open it in Internet Explorer, I get this error:
Expected identifier in vue.min.js, line 6 character 4872
When I navigate to that line/character, it shows that the error is in code that says:
var i=e.extends;
To be precise, IE places the cursor right after the dot in the expression above when I go to the error.
Vue.js is included from https://cdnjs.cloudflare.com/ajax/libs/vue/2.4.2/vue.min.js but I get the same issue if I include it locally.
Is there a solution to this besides telling users to use a different browser?
Upvotes: 1
Views: 158
Reputation: 11335
I made a test with above Vue JS file in IE.
Based on my testing results, I find that this error can occur with older versions of IE like IE-5, IE-7, IE-8.
Error did not occurred with IE-9, IE-10, IE-11.
Here is a testing result.
Here, I want to suggest you to upgrade to IE 11 version which latest and only supported version currently.
Microsoft had already stopped providing support for other older versions of IE.
If you upgrade to IE 11 than it will be helpful to solve your issue.
Upvotes: 1