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
Not sure if you plan on writing out custom code/decorators for pulling state/actions/getters/mutations into components (wrappers around mapGetters, etc.) but I'm currently using https://github.com/ktsn/vuex-class/ and here's how I did it in my components.
This ensures proper types for everything so if I change the AppStore all my components will have correct type/error checking. Maybe it'll help for the examples! =]
Curious if you had examples for how you pull vuex stores into your components for state access committing and dispatching?
Do you define $store as your typed store for each component that may use store stuff?
The text was updated successfully, but these errors were encountered: