All Questions
Tagged with vue-component vuejs2
5,578 questions
0
votes
1
answer
44
views
cases for using $event as param of a function
I have a basic question related to argument of a function.
when emitting an event from a child to a parent or when triggering a click event, I've seen in somme cases the add of $event as a parameter ...
0
votes
1
answer
70
views
local registration went wrong
I generated a new project using vue 2, then I wanted to apply local registration, but I"m getting compile errors
the following shows the changes files:
main.js
import Vue from 'vue'
import ...
1
vote
0
answers
69
views
Cannot find module 'vue-template-compiler'
I am trying to install Vue dependencies globally on my machine instead of relying on a local setup. My goal is to manually install only the necessary modules globally. However, I am struggling to ...
0
votes
1
answer
83
views
vuejs app isn't running when using cdn: version 3
On my current laptop I don't have vuejs configuration hence I used cdn link yet the code isn't running
<html>
<head>
</head>
<body>
<script src="https://unpkg.com/vue@...
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.$...
0
votes
1
answer
52
views
Import components dynamically from a list in Vue 2
I have a portal which provides different services in form of a vue component. We are saving all settings for a service in a database (including the path (=pfad) where it is stored). With this data we ...
-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 ...
-2
votes
2
answers
73
views
Vue best practice for calling child's child's functions? [closed]
Say you have a vue project where.
The App.vue has a button and a child CanvasView.vue file that sets up the canvas.
The CanvasView.vue file has a child CubeComponent.vue that draws a cube
The ...
1
vote
1
answer
218
views
Not able to execute vue's global errorHandler in a few cases
Though I am having issues with a vue 2 project, the demo also faces a similar issue where the global error handler defined in main.js is not working
Vue 3
https://stackblitz.com/edit/vitejs-vite-...
2
votes
1
answer
59
views
Using vue js's nested table, why the parent row suddenly shift to the right?
I am trying ro make a nested table using vuejs, but the styling is so wierd, do you guys have any Idea what's wrong with it?
the parents table
this is what happens when I press the drop down button
...
0
votes
0
answers
23
views
Vue2.x vue custom element when i passed param like 111. the dot at the end was removed. Is it well known issue? How to fix it
Vue2.x vue custom element when i passed param like 111. the dot at the end was removed. Is it well known issue? How to fix it.
Step
npm run build vue file
use file from /dist in php project
Problem ...
0
votes
1
answer
152
views
In Vue.JS, How to pass and change props value into nested components?
My requirement is very basic and easy, but not sure why even ChatGPT keeps giving me answer that has warning messages.
I am using Vue 2.
I have three nested components: GrandParentComponent, ...
0
votes
0
answers
40
views
Vuetify 2 date picker won't update date in DOM
I'm trying to make a date picker and update some text in the DOM when a new date is selected, but it won't update at all.
My template
<template>
<div>
{{ new Date(date)....
0
votes
1
answer
44
views
Is there a way to v-bind Components (while setting its prop) as prop of another component as shown below
<MyParentComponent :component-prop="MyChildComponent.ChildComponentProp.value = 'xyz'">
This is what I want to achieve. I want to provide MyParentComponent a child component as a prop.
...
0
votes
2
answers
34
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 ...