Skip to main content
The 2024 Developer Survey results are live! See the results

All Questions

Tagged with
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
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
0 votes
0 answers
99 views

TypeError: Failed to execute 'insertBefore' on 'Node': parameter 1 is not of type 'Node' In vue3

Facing an issue in the Vue project after upgrading the version of Vue2 to Vue3. In one of the scenarios, I'm upgrading the Vex state value with the existing value. As we know, after the state upgrade, ...
Prem's user avatar
  • 31
-4 votes
1 answer
66 views

Vue js fetch data

I have a app VUE JS I face a problem in the navigations bar the navigations bar containt a image user if i click in the image user profile take me to profile but if i navigate in to another user ...
Si mo Id's user avatar
0 votes
1 answer
158 views

vuex $store is not defined on cypress component testing [closed]

Currently I am trying to do component testing with vue and using vuex as state management and when run test case on mount the component I got the error stating cannot read properties of undefined like ...
Vatanak's user avatar
0 votes
0 answers
41 views

How can I handle all vue js routes start with "/admin" or "/user"

In Laravel we write below: Route::prefix('/user')->name('User')->group(function() { // Our Routes }); in Vue Js, when I searched I couldn't find anything. please if someone knows about it, tell ...
MEHRDAD DASHTI's user avatar
0 votes
0 answers
275 views

Cannot use 'in' operator to search for 'path' in undefined not getting solved

i am always getting error "Cannot use 'in' operator to search for 'path' in undefined" i checked several blogs, it shows that i am doing spell mistake in router file, but even after ...
nmn124's user avatar
  • 1
0 votes
0 answers
17 views

How could I "provide" VUEX's variable to my vue components?

I used to do this in my main app: provide(){ return { authenticated: window.authenticated, }; }, but I don't want to store that in window.* anymore. Now I have this: app.js const store = ...
user avatar
0 votes
2 answers
5k views

How to export a function

as shown in the below posted code, i want to export the function GISWSCaller. i am following the tutorial in this link, and i want to create something as in the 3rd code snippet in that link. the ...
Amrmsmb's user avatar
0 votes
2 answers
328 views

Can't access state of store vuex

Here is of main file /main.js import Vue from 'vue'; import App from './App.vue'; import vuetify from './plugins/vuetify'; import router from './router'; import store from './store/index.js'; Vue....
Storm's user avatar
  • 1
1 vote
1 answer
143 views

Using v-model to bind user input to state in the Vuex store

I have this store: //store.js import modulePaciente from './paciente/modulePaciente' export default new Vuex.Store({ getters, mutations, state, actions, modules: { ...
Emerson Rios's user avatar
0 votes
1 answer
2k views

Problem: Unhandled error during execution of setup function and Unhandled error during execution of scheduler flush

I have a component UserView: <template> <div> <div class="text-center w-full text-xl text-green-700" v-if="isLoading"> Loading... </div> <div ...
Maksym's user avatar
  • 5
1 vote
2 answers
425 views

Vue communicate between unrelated components

I have a navbar component that I'm rendering on App.js. I have some product cards with a quick add button on another page. I want to add a cart icon on the navbar which will increase count every time ...
red_rum's user avatar
  • 119
1 vote
1 answer
46 views

Сhanging number of buttons with different functions in Header-component

I would like to have a Header-component but with varying number of buttons and different functions that those buttons can trigger, for example, "visit about page", "trigger vuex action ...
tilde42's user avatar
  • 13
0 votes
1 answer
161 views

Passing dynamic text value to shared button component in Vuejs

I'm trying to pass dynamic text value to my shared component named "Button component" whose text should appear in Spanish or English based on the language chosen. For translation, I already ...
Appu's user avatar
  • 35

15 30 50 per page
1
2 3 4 5
55