Pinia problem
Hi, I have a problem with the pinia in my nuxt project. I installed it according to the instructions in the documentation: https://pinia.vuejs.org/ssr/nuxt.html
Specifically, I just ran this command:
But I get an error when I want to use it. What can I do about it please?
[
]: "getActivePinia()" was called but there was no active Pinia. Are you trying to use a store before calling "app.use(pinia)"? See https://pinia.vuejs.org/core-concepts/outside-component-usage.html for help. This will fail in production.
components/error.vue:
Specifically, I just ran this command:
npx nuxi@latest module add piniaBut I get an error when I want to use it. What can I do about it please?
[
components/error.vue: