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