英文: Use service with Pinia 问题 I have a service, which handles the API communication (and should be t...
Vue.js 3 Pinia 无法从 store 中访问数据
英文: vuejs 3 pinia unable to access data from store 问题 我第一次使用Pinia。我正在使用后端API实现登录功能,该API返回用户ID,我想将这个用...
getActivePinia被调用,但没有活跃的Pinia。Vue
英文: getActivePinia was called with no active Pinia. Vue 问题 以下是您提供的代码部分的翻译: pokemonDetails: <scrip...
why is my pinia still showing undefined and how can i make my app wait till pinia has loaded before filtering the producst by ID
英文: why is my pinia still showing undefined and how can i make my app wait till pinia has loaded bef...
Attribute patch in pinia store is working from one component, but not from another (Nuxt.js)
英文: Attribute patch in pinia store is working from one component, but not from another (Nuxt.js) 问题 ...
为什么`slice`方法不能用于数组属性?
英文: Why the slice method doesn't work on array prop? 问题 我有以下定义Pinia存储的代码: import { ref, computed...
使用Apollo和Nuxt.js获取useQuery的结果。
英文: Get result of useQuery with Apollo and Nuxt.js 问题 我试图使用`useQuery`函数(来自`'@vue/apollo-composab...
How to get data from an API only once (on app creation, outside component or view) in Vue3 SPA, with Pinia store
英文: How to get data from an API only once (on app creation, outside component or view) in Vue3 SPA, ...
3