mercredi 26 avril 2017

Strange error when updating an application to Vue2

After running vue-migration-helper and change all i need to update i'm getting this error bellow.

vue2.default.user is not a function

Console error:

Uncaught TypeError: _vue2.default.use is not a function
    at eval (eval at <anonymous> (app.js:1624), <anonymous>:153:15)
    at Object.<anonymous> (app.js:1624)
    at __webpack_require__ (vendor.js:53)
    at webpackJsonpCallback (vendor.js:24)
    at app.js:1

Anyone aware of what triggered this error?

______ UPDATE Ok, looks like the error is about the new Vue() not a function, maybe something with Laravel-Elixir-Webpack.

console error



via Chebli Mohamed

Aucun commentaire:

Enregistrer un commentaire