$nuxt Type Error #1526
-
Beta Was this translation helpful? Give feedback.
Replies: 3 comments 2 replies
-
This was documented at README.md for nuxt version. Check the 0.3.0 breaking changes section. https://github.com/vuejs/pinia/blob/v2/packages/nuxt/CHANGELOG.md |
Beta Was this translation helpful? Give feedback.
-
@antlionguard Thank you for the link. It was suggested to replace it with useNuxtApp and avoid using the old $nuxt. But in my case, I rolled back to the old $nuxt because I was getting Until it gets fixed. I will be using ts-ignore for now instead of installing @nuxt/types This part of the code upon page load is being executed in the server side. Which I believe causes the error. useNuxtApp() & useRuntimeConfig not available inside the store during SSR? Thank you |
Beta Was this translation helpful? Give feedback.
-
Here's a link to the issue @antlionguard |
Beta Was this translation helpful? Give feedback.
This was documented at README.md for nuxt version.
Check the 0.3.0 breaking changes section.
https://github.com/vuejs/pinia/blob/v2/packages/nuxt/CHANGELOG.md