我正试图将polyfill
添加到我的vue.js 2.0/Laravel5.3
应用程序中,因为在internet explorer 11中,我收到一个错误:
vuex requires a Promise polyfill in this browser.
因此,我遵循了docs我正在使用ecm 6,所以我做到了:
npm install --save-dev babel-polyfill
并在我的bootstrap.js岁生日中添加了以下内容:
import "babel-polyfill";
但Internet explorer中仍然存在同样的错误.我该怎么办?我做错了什么?