Hello,
I have a very simple store in store/index.js
(in "classic mode"), and I'm trying to access it from plugins/myPlugin.js
as described in the docs:
import store from '~store'
However, store
is undefined and on the console I get the message
"export 'default' (imported as 'store') was not found in '~store'
Any help would be appreciated :)
<!--cmty--><!--cmty_prevent_hook--><div align="right"><sub><em>This question is available on <a href="https://nuxtjs.cmty.io">Nuxt.js</a> community (<a href="https://nuxtjs.cmty.io/nuxt/nuxt.js/issues/c1027">#c1027</a>)</em></sub></div>