Arcra
Arcra
NNuxt
Created by Arcra on 5/26/2024 in #❓・help
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?
3 replies