[Vuejs]-What should be the type of state in pinia store using nuxt

0👍

state.$nuxt tries to access a state property named $nuxt which does not exist (unless you create it yourself). The pinia docs say that $nuxt is injected into the store, so you should be able to access it via this.$nuxt.

Leave a comment