` __webpack_require__(…) is not a function` when using babel 6

I’d like to add another reason why this error might pop up:

I did the following:

import mapActions from 'vuex'

instead of:

import { mapActions } from 'vuex'

The former was importing the entire vuex export, which is an object. Adding object destructuring fixed the problem.

Leave a Comment

Hata!: SQLSTATE[HY000] [1045] Access denied for user 'divattrend_liink'@'localhost' (using password: YES)