You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Sometimes in store need use vue/nuxt global plugins (like $axios with my config or $auth ).
But this in vuex-module-decorators will be set only on current class module, without vue class inheritance .
How I can do that?
In nuxt, I was able to add this plugins in the my nuxt plugin, calling my module class, and passing context or necessary plugins to the constructor, but it looks like a bicycle
The text was updated successfully, but these errors were encountered:
Sometimes in store need use vue/nuxt global plugins (like $axios with my config or $auth ).
But this in vuex-module-decorators will be set only on current class module, without vue class inheritance .
How I can do that?
In nuxt, I was able to add this plugins in the my nuxt plugin, calling my module class, and passing context or necessary plugins to the constructor, but it looks like a bicycle
The text was updated successfully, but these errors were encountered: