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
You need to define session in your state like following, to access it in your getters:
session
const state = { session: '' }
You have to write a mutation, which will be called from your actions to set this state value.