f / vue-wait

Complex Loader and Progress Management for Vue/Vuex and Nuxt Applications
MIT License
2k stars 100 forks source link

vuex-loading is undefined #9

Closed lbineau closed 6 years ago

lbineau commented 6 years ago

The new version 0.2.5 seems to be broken.

import VueLoading from 'vuex-loading'
console.log(VueLoading) // output undefined
lbineau commented 6 years ago

Latest working version: 0.2.2

f commented 6 years ago

It seems it's working. Can you approve you use 0.2.5?

lbineau commented 6 years ago

Yes I'm using 0.2.5 installed with Yarn and I have this runtime error.

vue.esm.js?65d7:4680 Uncaught TypeError: Cannot read property 'install' of undefined
    at Function.Vue.use (vue.esm.js?65d7:4680)
    at Object.eval (main.js?1c90:19)
    at eval (194:119)
    at Object.<anonymous> (app.js:1994)
    at __webpack_require__ (app.js:689)
    at fn (app.js:110)
    at Object.<anonymous> (app.js:7132)
    at __webpack_require__ (app.js:689)
    at app.js:790
    at app.js:793
lbineau commented 6 years ago

It works until version 0.2.3. I'm usingyarn add vuex-loading@versionNumber to test.

lbineau commented 6 years ago

That is weird but as a workaround I used the source in my project

import VuexLoading from 'vuex-loading/src/vuex-loading'
f commented 6 years ago

That's strange, it's working to me.

26 Oca 2018 Cum 12:17 tarihinde lbineau notifications@github.com şunu yazdı:

Closed #9 https://github.com/f/vuex-loading/issues/9.

— You are receiving this because you commented.

Reply to this email directly, view it on GitHub https://github.com/f/vuex-loading/issues/9#event-1443223689, or mute the thread https://github.com/notifications/unsubscribe-auth/AAL_fVpYF9xf9iSb_UqLR52hxmWJ9tQ5ks5tOZhBgaJpZM4RshAv .