Skip to content
Advertisement

Tag: vuex-modules

Vue/Nuxt/Vuex – [NUXT:SSR] [ERROR] [vuex] unknown getter

The error appears when I use a v-for loop to go through the ‘allPosts’ data on my div. The Nuxt documentation says ‘Modules: every .js file inside the store directory is transformed as a namespaced module’. Maybe I’m missing something in this regard? pages/index.vue store/index.js store/posts.js Answer You have a number of issues in how you are setting up and

Advertisement