ikloster03 / vue-dadata

Vue component for hinting addresses using dadata.ru
https://vue-dadata.ikloster.tech
MIT License
28 stars 31 forks source link

ie 11 not working arrow function #84

Closed SlivaNilow closed 4 years ago

SlivaNilow commented 4 years ago

Describe the bug in ie 11 not working arrow function Ro({type:Object,default:()=>({language:"ru",locations:[],locationsBoost:[]})})]

Desktop (please complete the following information):

Additional context Im using Laravel mix + vue dadata. all my arrow function on build transform to ES5 but imported script has own arrow function.

can u build in to es5?

ikloster03 commented 4 years ago

@gelid do you have a babel for your build?

SlivaNilow commented 4 years ago

sorry, but im dont know, im backend developer.. it is default laravel mix setup. in package.json babel exist "@babel/preset-env": "^7.11.0",

and i think if i dont have babel my own arrow function not be transformed

SlivaNilow commented 4 years ago

solved https://github.com/JeffreyWay/laravel-mix/issues/2174#issuecomment-569929210