How I can get the store in javascript modules that doesn't have access to the nuxt context or a vue component?
import Store from '~store'
// or
const store = require('~store')
console.log(store)
// { createStore: [Getter] }
is not working any more in the latest versions.
<!--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/c736">#c736</a>)</em></sub></div>