Closed symonxdd closed 2 years ago
Can anyone please answer this issue? I'm also having the same kind of a problem he's having. It just seems not able to read store at all.. (state, commit, dispatch.. all gives the undefined message)
It would've been nice if the developer of this CLI preset would document how the overall folder-structure works.
Can't agree more.. Thank you so much for the comment. It finally works šš»šš»
Describe the bug The global Vuex object:
$store
, appears to beundefined
. See screenshot below.To Reproduce Steps to reproduce the behavior:
vue create --preset kocal/vue-web-extension my-extension
b.cd my-extension
c.npm run serve
index.js
in src/store/:App.vue
in src/popup:Expected behavior The global Vuex variable:
$store
to not be undefined.Screenshots
Chrome Console errors:
Desktop (please complete the following information):