LoginSignup
3
1

More than 3 years have passed since last update.

Vuexをie11で

Posted at

エラーの短い備忘録。

[vuex] vuex requires a Promise polyfill in this browser.

VuexPromiseを使っている

 使っているが、しかし

IE11ではPromiseが使えない

 そもそもブラウザが対応してない。なので

IE11Promiseが使えるようにする

 何らかのポリフィルを持ってくる。

$ npm install --save es6-promise

main.js

import 'es6-promise/auto'

import Vue from 'vue'
import App from './App.vue'
import store from './store'

これで使えるようになると思います。

参考にした記事

3
1
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
3
1