Closed OmgImAlexis closed 7 years ago
vue-stash
just helps you access your root VM's data option. That said, if you save your root VM to a variable then you should be able to access your store from there.
const app = new Vue({
data: {
store: {
message: 'hello world'
}
}
})
console.log(app.data.store.message)
Then you can export
Currently I use another file to setup an api and then import the file into my components, is there a way to access the current store inside of those?