1👍
✅
State is not affected by namespace
. In a way it always gets namespaced. This is so we don’t have collision.
To access a state from a module you need to get a bit verbose:
computed: {
...mapState({
editMode: state => state.global.editMode
}),
...mapState('address', ['addresses']),
}
Source:stackexchange.com