Fix vuex requires a Promise polyfill in this browser

#StandWithUkraine
Today, 25th June 2022, Ukraine is still bravely fighting for democratic values, human rights and peace in whole world. Russians ruthlessly kill all civilians in Ukraine including childs and destroy their cities. We are uniting against Putinโ€™s invasion and violence, in support of the people in Ukraine. You can help by donating to Ukrainian's army.

When you start your Vue project in Safari or IE, you may face with:

[vuex] vuex requires a Promise polyfill in this browser

Promise polyfill ERROR in Safari

To solve it do next:

npm install --save-dev babel-polyfill

In main.js:

import 'babel-polyfill'
#vuejs
0
Ivan Borshchov profile picture
Jun 22, 2017
by Ivan Borshchov
Did it help you?
Yes !
No

Best related