Answer the question
In order to leave comments, you need to log in
Logging this.$store === undefined on initial render on server, how to fix (Nuxt + Typescript)?
I'm using this template: https://github.com/nuxt/nuxt.js/tree/dev/examples/...
I'm
running in universal mode
I'm trying to access this.$store on initialization, which gives me the following:
Just wrap in if(process.browser) is impossible, because this page should be indexed
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question