Skip to main content

Questions tagged [vuex]

Vuex is a state management pattern + library for Vue.js applications. It serves as a centralized store for all the components in an application, with rules ensuring that the state can only be mutated in a predictable fashion.

vuex
0 votes
2 answers
28 views

Vue 3 upgrade props are passed but not show in the component

I have following Vue 3 component image-template-row-item which has the prop templates-types which is defined in the component in the props: now this prop is always passed as undefined to the ...
Muhammad Essam's user avatar
0 votes
0 answers
39 views

How to implement a multi-document application based on dialog (modal) windows in VUE?

Now I have a classic SPA application implemented using the VUE, VUE Router, VUEX, Vuetify stack. Recently I saw an implementation of an interface based on editing data in dialog (modal) windows. As a ...
Алексей's user avatar
0 votes
0 answers
15 views

Vue.js Vuex State Not Syncing Across Tabs and Direct URL Access

I have a Vue.js application with a login component and a settings page. When I log in and navigate to the settings page via the menu within the login page, the Vuex store updates correctly, and I can ...
Eps's user avatar
  • 1
0 votes
0 answers
15 views

Chrome Vue.js devtools v6.6.3 not showing getters of root store (Vuex)

I have a root store with states, mutations and getters. It also exports modules (sub stores). When inspecting it in chrome Vue.js devtools v6.6.3 it only shows the modules. I don't see any states or ...
abille's user avatar
  • 1
0 votes
1 answer
36 views

Why are my environment variables explicitly visible in my Vue application through Google Chrome Inspector, and not obfuscated?

Hello everyone, I have built a Vue app, and when I build the application using npm run build, the app builds successfully. However, when I look into the Google Chrome inspector, I notice something. ...
Eliyonai Molero's user avatar
0 votes
2 answers
35 views

Vuex mutation does not return the latest value of the state

Currently I am working on a functionality where mutation updateConversationBasedOnAssignedUser updates the state current_action. updateConversationBasedOnAssignedUser uses async/await call using Axios ...
Dhaval Chheda's user avatar
0 votes
0 answers
34 views

Why are the handler values different for variables assigned reactive data within variables declared with computed() in Vue.js?

I am working on a project using Vue.js. In the code below, ListDataList is declared as a computed property, so it is called whenever the reactive data store.getters['management/banners'] assigned to ...
YongHyun Kim's user avatar
0 votes
0 answers
37 views

Facing issues in nested routes in Vue-3

I am creating a simple CRUD application for users based on different roles, but I'm facing issues with nested routes and component rendering. I have carefully reviewed their official documentation, ...
Ittefaq Technologies's user avatar
1 vote
0 answers
51 views

Nuxt 3 With Vite Production Issue: Works in Development but Not in Production

I'm experiencing an issue with my Nuxt 3.6.5 application. The app runs perfectly with npm run dev, but when I build and start it using npm run build and npm run start, it doesn't work as expected. ...
Viggy's user avatar
  • 11
0 votes
0 answers
32 views

Computed property from VueX store does not update component

I have a component that lists entries of an array of posts (it's stored as projects in the store). When created the component dispatches a action to the store that fetches the data and mutates the ...
moritzgvt's user avatar
  • 436
1 vote
1 answer
26 views

Computed property that relies on Vuex stored prop not updating?

When reservation is updated (which it is, I can see it change in the template through things like {{ reservation.id }}) the following computed property (reservationHashedId) is not... Why? const ...
Chuck Le Butt's user avatar
0 votes
1 answer
37 views

Vuex and Vue Router - double condition on beforeEnter not working

I have double condition in beforeEnter and nobody can enter to right place. Is there a limit in conditions or what? :( my code in the router file: const routes = { path: `${routerConfig.preRoute}/...
kat.stacevitz's user avatar
0 votes
0 answers
19 views

I am getting a TypeError: Cannot read property 'installed' of undefined when I using localVue.use(Vuex); in my Jest test

I have test: import { shallowMount, createLocalVue } from '@vue/test-utils'; import Vuex from 'vuex'; import component from './component.vue'; const localVue = createLocalVue(); localVue.use(Vuex); ...
Артем Малыйкин's user avatar
0 votes
0 answers
115 views

Use Vuex and Pinia Store in Quasar

I am working on a Quasar app that uses Vuex. I need to use some modules that use Pinia so I would need to instantiate Pinia on my app as well. My problem is, how do I instantiate both Vuex and Pinia ...
kzaiwo's user avatar
  • 1,688
0 votes
0 answers
21 views

Vue 3 and Vuex 4: List of Messages Not Updating on Frequent Event

Question: I am using the following dependencies in my project: "vue": "^3.2.13", "vuex": "^4.0.0" I want to update a list of messages that should be updated ...
AllramEst's user avatar
  • 1,429

15 30 50 per page
1
2 3 4 5
518