Skip to main content
AI Assist is now on Stack Overflow. Start a chat to get instant answers from across the network. Sign up to save and share your chats.
Filter by
Sorted by
Tagged with
0 votes
2 answers
20 views

My goal is to restrict access for authenticated users to the /login and /register routes My Pinia Storage user.js contains user info and computed boolean property isAuthorized, when I am trying to use ...
Dmytro Shved's user avatar
0 votes
0 answers
51 views

I have a very basic Vue + Vite + Router + Pinia application that has a reactive({}) object in a Pinia store. If I update it with 1000 items it will freeze the browser for 3-5 seconds when it should be ...
user5541269's user avatar
Best practices
0 votes
0 replies
24 views

We follow this article to write all our API calls https://medium.com/@luizzappa/nuxt-3-repository-pattern-organising-and-managing-your-calls-to-apis-with-typescript-acd563a4e046 so we can fetch a ...
td2thinh's user avatar
0 votes
0 answers
52 views

I am building an application using AdonisJS 6, Vue 3, and Inertia.js. I'm trying to integrate Pinia for state management, but I'm running into an error: I read online and see other issues here, but I ...
Ebraheem Al-hetari's user avatar
Best practices
0 votes
1 replies
49 views

I have a situation where a pina store variable should be reset as soon as it is consumed. Apparently because of reactivenes I cannot do: defineStore('SystemStore', { state() { return { ...
theking2's user avatar
  • 3,100
0 votes
3 answers
74 views

How can I dynamically change the path and components in the routes, based on a value from pinia store? I tried to check the condition in the routes, I get an error: store was accessed before it was ...
roma's user avatar
  • 181
0 votes
0 answers
51 views

I have a Pinia store defined like this: export type Era = { id: number name: string start_year: number end_year: number item_count: number } const settingStore = { eras: ref([] as Era[])...
Steve Bennett's user avatar
0 votes
1 answer
266 views

Good day, I am trying to migrate my code from vue 3 to Nuxt v4 and I was trying to setup on the index page where the page content should be based on the dynamic param "market". So I tried to ...
Clement Koay's user avatar
0 votes
2 answers
174 views

Hi i'm trying to call my pinia store from within my app.vue root component. I'm using Nuxt3. But i'm getting a 500 error with the following message : [🍍]: "getActivePinia()" was called but ...
p_duthoit's user avatar
  • 358
1 vote
1 answer
89 views

I have two variables in my userStore.js, userData which is populated by the object returned by the login function and profileData which I populate with data from firestore using a VueFire composable ...
Obed Monsalve's user avatar
0 votes
1 answer
86 views

When I change body.title in v-text-field I see success requests in network tab and response with new data but there is no changed data on the page. otherwise, if I use const { data: _data }: any = ...
AxOn's user avatar
  • 101
0 votes
1 answer
132 views

I'm converting an options Pinia store 'currentlyAnOptionsStore' to setup. In another store I'm using $onAction to do stuff in the listening store when an action is triggered in the '...
Madelaine's user avatar
0 votes
0 answers
73 views

In an Nuxt application, using SPA, so SSR:false I have a stores/auth.ts that contains: export const useAuthStore = defineStore('auth', () => { const refresh_token = ref<string | null>(...
thiebo's user avatar
  • 1,467
3 votes
1 answer
192 views

I have a project that utilizes Vue 3 (w/ Composition API), Pinia, Typescript, and SignalR. I'm running into an issue with calling a class instance method from within a pinia store action. This is the ...
Ethan's user avatar
  • 83
1 vote
0 answers
83 views

I have a bazaar issue occurring with my project related to the SignalR events and jQuery. For starters, my client project is built with Vue 3 (w/ Composition API), Vite, Pinia, SignalR w/ jQuery, and ...
Ethan's user avatar
  • 83

15 30 50 per page
1
2 3 4 5
59