N
Nuxtβ€’7mo ago
Arcra

Setup plugin after pinia

I made a plugin that loads a vue plugin that defines a pinia store, but it gives me
[🍍]: "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.
[🍍]: "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.
How do I make the plugin loaded after pinia instance is set up?
2 Replies
AlexGan
AlexGanβ€’7mo ago
Issue fixed ?
Arcra
ArcraOPβ€’7mo ago
Fixed by removing pinia from the project πŸ‘
Want results from more Discord servers?
Add your server