nuxt instance undefined #1456
Unanswered
marekmis
asked this question in
Help and Questions
Replies: 1 comment 1 reply
-
This was one of the breaking changes: https://github.com/vuejs/pinia/blob/v2/packages/nuxt/CHANGELOG.md#030-2022-07-13 |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
I just upgraded my app to latest
"nuxt": "^3.0.0-rc.6",
and
"@pinia/nuxt": "^0.3.0",
When calling this.$nuxt or $nuxt in store actions I get undefined error.
I found this is working:
but I don't like how I have to embed it within every action... Is there a way to define nuxtApp once, globally for the entire store?
Beta Was this translation helpful? Give feedback.
All reactions