Questions tagged [vue-component]
Component is a powerful Vue feature that allows extending basic HTML elements to encapsulate reusable code.
vue-component
10,686
questions
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:
<!-- ...
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 ...
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...
...
-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 ...
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 ...
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....
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 ...
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(...
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....
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 ...
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. ...
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/...
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 ...
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="...
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=...