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
Nuxt.js lets you decide between 2 store modes. You can choose the one you prefer:
- Modules: every .js file inside the store directory is transformed as a namespaced module (index being the root module).
- Classic (deprecated): store/index.js returns a method to create a store instance.
my previous comment apply to the "classic (deprecated)" way of doing,
just follow the README and you'll get there
something like :
import { createModule } from 'vuex-toast'
new Vuex.Store({
modules: {
toast: createModule(),
},
})
but for the new way (with modules), you need this hack-ish solution :
No description provided.
The text was updated successfully, but these errors were encountered: