Home

Issue: 2970

Static site + Vuex

[issue link]

Hi! 😃 I’m creating a Nuxt site using wordpress + netlify.

At first (in dev mode) each page I call the menu and footer api, to populate menu and footer. (duh) Now I’m using vuex, so I called this only in layout/default.vue.

But can I call the vuex before generate pages? Because now, when I deploy to netlify, I need to call my api to populate vuex. 😕

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