nuxtServerInit does not work if it is not in store/index.js [issue link] nuxtServerInit does not work in it is not in store/index.js. if you rename 'store/index.jsto something else functionnuxtServerInit` never runs in server side. This question is available on Nuxt.js community (#c146)