1👍
IE has never supported destructuring and there isn’t a way to just “make it work”. IE’s JavaScript engine is incapable of reading code that uses this functionality. This is part of the reason why IE is so notoriously bad to have compatibility with nowadays. If you are producing a web app for a client that must use IE, you can’t use destructuring and will have to rewrite your code to be compatible with IE.
0👍
Just change v-slot="{item}"
to v-slot="{item: item}"
, that should work.
The reason is that IE does not support some of the new ECMAScript features like object destructing and that shorthand you wanted to use.
NOTE: { item: item }
is equivalent to { item }
, but it’s just a shorthand when the object property has the same name as variable you want to assign.