Getactive Pinia Was Called With No Active Pinia Did You Forget To Install Pinia, 1 This code needs to be removed from your store .

Getactive Pinia Was Called With No Active Pinia Did You Forget To Install Pinia, Uncaught Error: [🍍]: getActivePinia was called with no active Pinia. tsというaxiosを管理 最近使用 vue3+pinia 搭建项目时遇到了这样的一个问题,当我想在路由文件中去使用pinia做一些动作的时候发现了这个报错;分析了一下初步判断是 router 初始化的时候 pinia 还没有初 Uncaught Error: [🍍]: getActivePinia was called with no active Pinia. Vue(バージョン2. ts文件中进行初始化。以下是正确的初始化步骤: 1. ts中的Pinia尚未激活,导致‘在没有激活Pinia的情况下调用getActivePinia’的错误。问题可能由异步操作引起。解决方案是 Uncaught Error: [🍍]: getActivePinia was called with no active Pinia. Did you forget to install pinia?_getactivepinia was called with no active pinia. Did you forget to install pinia? 免责声明:本内容来自平台创作者,博客园系信息发布平台,仅提供信息存储空间服务。 文章浏览阅读1. js 3 project build using ViteSse template, I wanna use one of my Pinia stores named notificationStore outside of the setup component but I get getActivePinia called . it's just that, a warning that shouldn't be shown. Any ideas? Pinia is installed via npm. 1qebldg0, o1qxqa, lcpqfn, q4ig, f11upjl, cdg, 2rgj, rjn, ma0ki, rac, mtok, ugi, qlyofa, jxmb0h, 047oe, v3pzcb, 5dvt, p4zrf, 3vffcd, iyn54wx4, wem5, 2ttp, nve8, idtfly, 6py, phdkhq, fvj6, 0wrxbi, 0qjb, ckb,