Fix vuex requires a Promise polyfill in this browser

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