Home

Issue: 1170

"export 'default' (imported as 'store') was not found in '~store'

[issue link]

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 😃

This question is available on Nuxt.js community (#c1027)