Internet Explorer Vuejs require polyfill Promise Internet Explorer Vuejs require polyfill Promise vue.js vue.js

Internet Explorer Vuejs require polyfill Promise


You'll probably want to use es6-promise - it works out-of-the-box with webpack (I'll assume that's what you're using because that's what most primers on Vue recommend).

All you need to do is install it with npm or yarn (instructions in the github repo), and then require it in your project:

import 'es6-promise/auto';

Later edit: saw you're just importing Vue from a CDN, so in your case, just import the Promise polyfill the same way:

<script src="https://cdn.jsdelivr.net/npm/es6-promise@4/dist/es6-promise.auto.min.js"></script> 

(instructions also in the repo)