All Questions
4,783 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
71
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
84
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
1
answer
54
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
463
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
74
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
221
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
1
answer
153
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
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
37
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
87
views
Displaying Vue component outside div id="app"
Is it possible to display a Vue component outside of the <div id="app">?
I am trying to display some components in my Laravel blade file, but I need help figuring out how. Could ...
0
votes
1
answer
71
views
How to toggle a v-if
I am trying to toggle between two components in my Vue.js Navbar. But as I am calling the toggle function, the value of active is changing, however, the components displayed do not.
This is my App.vue
...
2
votes
1
answer
1k
views
diferrence between new vue & vue.createapp
I'm studing Vue.js and I have learned that every Vue application starts by creating a new Vue instance with the Vue custructor new Vue({ })).
So far everything is clear, untill t I came across Vue....