FrontendCat
Using Pinia inside a module
Hey, I'm creating a Nuxt 3 Module right now and I want to use Pinia in it. I am having trouble integrating Pinia though. I tried adding it as a plugin like this but I don't think that's the right way to do it. Could anyone give me a hint please? 🙂
module.ts
pinia.ts
3 replies