I want to access state.session in instance.js from records_view.js. How is this accomplished?
state.session
instance.js
records_view.js
store/modules/instance.js
state references local state and rootState should be used when accessing the state of other modules.
state
rootState
let session = context.rootState.instance.session;
Documentation: https://vuex.vuejs.org/en/modules.html