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
When using vue router with this structure you need to check if the module exists in the create of that module. this.$store.registerModule('$_products', store); needs to be replaced with
if (!(this.$store && this.$store.state && this.$store.state.$_products)) {
this.$store.registerModule('$_products', store);
}
Or else the module will be registered every time the page is being called and you get some weird behaviour.
The text was updated successfully, but these errors were encountered:
When using vue router with this structure you need to check if the module exists in the create of that module.
this.$store.registerModule('$_products', store);
needs to be replaced withOr else the module will be registered every time the page is being called and you get some weird behaviour.
The text was updated successfully, but these errors were encountered: