All Questions
Tagged with vue-component javascript
4,468
questions
0
votes
0
answers
34
views
How to create a standalone embeddable script from an internal Vue component?
I have a Vue application, and within, I have a component, which I reuse throughout the app. It's located in src/components.
I'd now like to make it so this component can be embedded into other ...
0
votes
0
answers
36
views
Links not longer working when navigating to another view
So, when I used this code to go from the view to another with props.
this my first view :
<template>
<Spinner />
<Header />
<main class="main">
<...
0
votes
1
answer
57
views
vue 3 composition api, can not return value from a helper function to component
i think this is a problem of scope inside my helper function, i have successfully implementing the same logic in my component and it works perfectly
i have already using a composable function to use ...
0
votes
0
answers
42
views
Vue child component not mounting during rendering
const componentData = {
"label": "body",
"category": "default",
"children": [{
"label": "Droppable Component&...
0
votes
1
answer
50
views
Question about vue 3 lifecycle and availability of properties
I want to load some content of a vue component based on a given argument. Here is some code to illustrate:
ParentComponent.vue
<Suspense>
<div class="row g-0">
<div class=&...
1
vote
1
answer
39
views
Integrate vee-validate with vue-datepicker
I'm trying to validate vue-datepicker for required field using vee-validate like this:
<Form @submit="handleEvent" :validation-schema="addEventSchema">
<...
0
votes
0
answers
30
views
Vue access components
I want to trigger the update() function of kursAktiv.vue when I press the button "Kursanlegen" in kursAnlegen.vue ! Here are the kursAnlegen button and function:
<kursverwalter v-model:...
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, ...
1
vote
1
answer
50
views
Vue 3 sub component raises click event when displayed
In vue 3 compose api, I am displaying a popup component and I want to capture out click for closing the modal.
my code in my parent component
<template>
<button @click="toggleSettings&...
0
votes
0
answers
48
views
ERROR in [eslint] Cannot read properties of null (reading 'references') Occurred while linting
I am new to work with vue. I have used @vue-flow/core to use a custom edge with button component. But while running the npm run build/serve, I am getting this error:
ERROR in [eslint] Cannot read ...
0
votes
0
answers
33
views
VueJS User cant alter checkbox state
I have the following script which use to work perfectly fine.
<div id="inspectionList" class="row m-0 p-0" v-if="app.getOption('InspectionChecklists')">
<div v-...
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
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...
...
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
0
answers
48
views
tsParticles onHover not working on my Vue Project
I have been trying to implement the light preset from https://particles.js.org/ but I can't somehow manage to get the onHover effect working. The shapes are appearing just fine but the onHover is not ...