access vuex store in another js file code example Example: vuex store in js file import store from '../store' store.getters.config