f / vue-wait

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

Vuex not initialized #115

Open carlovenus opened 2 years ago

carlovenus commented 2 years ago

Hi,

after upgrading to Quasar 2 / Vue 3 / Vuex 4, I get

Error: [vue-wait] Vuex not initialized.

and wherever $wait is used in the app, I get

[Vue warn]: Property "$wait" was accessed during render but is not defined on instance.

The initialisation is in a Quasar boot file:

import { createVueWait } from 'vue-wait'

export default ({ app, store }) => { const vueWait = createVueWait({ useVuex: true, registerDirective: true }) app.use(vueWait) }

Is it a known issue? Thanks in advance

camberos commented 2 years ago

Any luck setting up Vuex and Quasar?

carlovenus commented 2 years ago

Any luck setting up Vuex and Quasar?

Nope