All Questions
2,072 questions
0
votes
0
answers
18
views
How to setup a singleton store/event bus for micro front ends monorepo with Vue2, Vuex, Vite?
I have this structure which every feature will be treated as a mini app, they will be bundle as separated scripts (based on vite-feature.config) to ready for load as needed on an external app.
They ...
1
vote
1
answer
78
views
Computed property lack of reactivity for deep nested object
EDIT01: I'm using "nuxt": "^2.16.0" with "@nuxtjs/composition-api": "^0.29.2".
I'm have been trying for days to figure this out but still dealing with this ...
0
votes
0
answers
63
views
How to use VueX 3.6 mapActions in vue 2.7 script setup
we're using VueX 3.6 with Vue 2.7. The project is old We can't go to Vue3. For new components, we're trying to use script/setup for new components. How to use VueX mapper functions in this situation? ...
0
votes
0
answers
30
views
Registration causing too much recursion
when trying to register a new user with a specific role I get too many recursion errors
main.js
import Vue from 'vue'
import App from './App.vue'
import router from './router'
import store from './...
0
votes
0
answers
36
views
Vue Router 2.6 Navigation Issue, cannot navigate back (browser button)
I’m working on a Vue.js (v. 2.6) application that uses Vue Router for navigation between different pages. After logging in, the user is redirected to the home page with the following code:
this.$...
-1
votes
1
answer
452
views
Failed to scan for dependencies from entries: index.html" Error after Running npm run dev
I am encountering an issue while trying to run my Vue.js project with Vite. After executing the command npm run dev, the server fails to start, and I receive the following error:
VITE v5.4.3 ready in ...
0
votes
2
answers
53
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 ...
0
votes
1
answer
49
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}/...
0
votes
0
answers
13
views
Weird behavior when logging a Vue2 observer
I'm building an application in Vue2 and I found a behavior that I can't explain.
I have a state variable named important_data. Inside I have an object call parameters, who has a property named ...
0
votes
1
answer
39
views
Vue2 doesn't see updates of object in expanded table vuetify
I have a problem with reactivity in Vue2
I have an array of objects in Vuex, which are displayed in v-data-table, inside each object I have an array that is filled with data when row expanded, I want ...
0
votes
1
answer
80
views
Keep filter values in previous page when navigating
This is what looks like to be a very simple matter but for some reason I couldn't find a clear answer on how to do it.
I have 2 pages : users page that contains a list of users displayed in a v-data-...
1
vote
1
answer
62
views
Testing Vuex reducer/mutation in Vue3/Vue-test-utils
I am in the process of migrating to Vue3, so please excuse me for not just using Pinia. I have a reducer like this:
export const mutations: MutationTree<UiState> = {
SET_LOADING: (state, ...
0
votes
0
answers
71
views
Vue.js - Issue with Menu Component and Event Handling
I'm currently working on a Vue.js project and have encountered an issue with a custom menu component. The menu is supposed to handle sorting types, and I'm using it in conjunction with a method (...
0
votes
1
answer
86
views
Getting error on clicking Menu icon in Vue 3 admin template
i have installed CoreUI Vue admin template CoreUI Vue Template. All the code is working fine except for the menu icon .
when i click on it to hide the side bar(it's a built in functionality .) it's ...
0
votes
0
answers
64
views
ERROR in ./node_modules/vuex/dist/vuex.esm-bundler.js
Without being sure how I caused this, the following error now occurs whenever I attempt to run a website by means of npm run serve:
ERROR in ./node_modules/vuex/dist/vuex.esm-bundler.js
Module build ...