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

Questions tagged [vue-component]

Component is a powerful Vue feature that allows extending basic HTML elements to encapsulate reusable code.

vue-component
2 votes
1 answer
202 views

Event error: TypeError: Cannot read properties of undefined (reading 'stopPropagation')

I can't use click modifiers when passing up the click event from a child component to the parent component. Does anyone know what I may be doing wrong here? I have a component like this: <!-- ...
Josh's user avatar
  • 911
0 votes
2 answers
233 views

Trying to use Node-Red Dashboard 2.0 ui-template with Vue v-date-picker

Using ui-template from Dashboard 2.0 I use the code and node-red flow below to try and get the date selected to be sent in a node-red message, but can not get the debug node to display anything. Have ...
vandel's user avatar
  • 41
0 votes
0 answers
34 views

Vue.js acess components values

I have a question: I have two files. I want to dynamically access the value of assignmentData of the one file when it's value changes. How do I do this? It's changed when I mark a checkbox... ...
user24803569's user avatar
-1 votes
3 answers
80 views

VueJS: Tracking the order of child components in a parent slot at run time

I have a custom component where the parent and an array of child components are tightly coupled and there is a "backdoor" communication between the parent and child components using the ...
icube's user avatar
  • 2,728
0 votes
0 answers
49 views

Vue js exporting data

I have a problem with my code. I want to access the value of assignmentData in file1.vue everytime after it changes in another vue file(file2.vue). You can see the code in the pictures. And the data ...
user24703227's user avatar
0 votes
1 answer
109 views

Issue with displaying Vue.js components inside q-expansion-item

I'm working on a Vue.js project using the Quasar Framework and I'm facing an issue. I have a list of items (essentialLinks) that I'm displaying using EssentialLink components inside a q-expansion-item....
caio2810's user avatar
0 votes
1 answer
61 views

Passing static data from parent to child Vue component

I'm studying Vue.js online through YouTube videos and I learned that to pass data from a parent to a child component we use v-bind in the parent and props in the child, yet after I created my first ...
abs hwiw's user avatar
0 votes
0 answers
40 views

Check function parameter type during runtime

i have an vue 3 library with typescript. Currently the library is released with a FooFunction type, but i need to change the function definition and change the parameter to another type(...
MrSpt's user avatar
  • 815
0 votes
0 answers
40 views

how to watch changes of a variable based on watched state of another variable

i am using vue3 with options api As shown in the code posted below, i want to watch value.processAPIPathToTIFF, but calling property processAPIPathToTIFF is contigent upon the mapFeaturesReaders....
Amr's user avatar
  • 33
0 votes
2 answers
141 views

Vue 3 component doesn't update after pinia store is updated

I'm working on a Vue js 3 project using typescript and Pinia. I have a modal that creates a changelog it works well, the changelog is created but the view is not updated, I need to refresh the page to ...
RemHD's user avatar
  • 11
0 votes
1 answer
121 views

Why useDropZone not working with dataTypes: ['image/*']?

I using Vue 3. Why useDropZone from VueUse 10.9.0 (latest version) can't handle dataTypes: ['image/*'] ? I want to implement loading a single image by drag and drop and/or (user-defined) selection. ...
Anatoly Lindemann's user avatar
0 votes
0 answers
34 views

Vue ref of parent component does not trigger update of child when changed in another child (Android Chrome)

In my Vue/Vite/Vue Router project, I use a component called DefaultLayout for the basic layout of my page. It has several slots, like action-left, action-right, title and default: <!-- layouts/...
dasdawidt's user avatar
0 votes
2 answers
28 views

I have created a Img component using Vue Js. but Img is not showing

I have created a Img component using Vue Js. and the component is passed to the header file which is in the same directory, the Img component contains a parent div. when i passed the Img component to ...
Muhammad Bilal's user avatar
0 votes
0 answers
25 views

VUE Passing slot from child component to parent

I'm trying to create a Table component with filtering This is how I want to use it <v-table :data="users"> <v-table-column :label="t('users.full_name')" field="...
Денис Линник's user avatar
3 votes
1 answer
99 views

Failed to resolve component: google-pay-button

I am trying to payment integration via Gpay in vue js using google-pay-button. But i am getting warning - Failed to resolve component: google-pay-button My code - <google-pay-button environment=...
user avatar

15 30 50 per page
1
3 4
5
6 7
713