How to access to the store instance when in module mode

alfonsobries
0
alfonsobries
commented a year ago

I want to access the store instance inside my custom route file, but not sure how to access to it. I config Vuex using modules mode (https://nuxtjs.org/guide/vuex-store#modules-mode)

`import store from './store' doesn't work cause I don't have an export default code inside the store/index.js file

Any clue?

0
Informations
Question โ€ข Unresolved
#c7707 - Created a year ago