Skip to main content

All Questions

1 vote
1 answer
204 views

Getting following Error in javascript code : Do not use 'new' for side effects

I have a vuejs code with which I try to represent in a bar chart the percentage of water and oil contained in two different bottles. when i start my program, i get the following error in my javascript ...
pat des pat's user avatar
0 votes
0 answers
76 views

Vue2 renaming the event listener to avoid conflict by using $listeners

I have a question rearding to the usage of the $listeners property of a component in Vue 2. There are two rotatable knobs, which emit a rotated event upon rotating. They are inside a GameToolbar ...
DomonkosCs's user avatar
0 votes
1 answer
477 views

Vue assets image url auto changed

I will get an image that I use in Vue project as url from another project. No problem on vue side when I call it like this : <v-img class="header__logo" lazy-src="@/...
byshock's user avatar
0 votes
1 answer
3k views

How to add inline style to body using vuejs component

I am a vue.js learner and I have started a couple of days ago so there is still some stuff I may not comprehend well. I am trying to design a dropdown menu that displays when the user clicks on the 3 ...
gaza's user avatar
  • 31
2 votes
1 answer
60 views

Vue <a> tag href attribute splicing

My current url is http://localhost:8080/component, and in this page I have an <a> tag <a :href="'/detail/' + comp._id"></a> When comp._id is determined, for example it is ...
lai9fox's user avatar
  • 69
1 vote
2 answers
57 views

How can I integrate this component in my vue.js?

I am trying to add this component in my App but as vue component but for some reason, the page is not loading. Source of component : https://codepen.io/jessicachou/details/bjaZmY I am getting the ...
law kira's user avatar
0 votes
1 answer
184 views

How can I adding `transition` to my Popup

I have a popup, popup revealing with setTimeout() in 2 seconds but I can't give it a transition It's showing suddenly and bumping it to the screen. I don't want that but I can't add a transition from ...
Kerem Unce's user avatar
0 votes
1 answer
6k views

Router Link in VUE JS is not showing active

I hope you are having an amazing week. The thing is I'm learning VUE for a couple of weeks now but currently I'm facing an issue with VUE Router. Following is the issue that I'm facing: 1- I have ...
Muhammad Khan's user avatar
0 votes
1 answer
761 views

How to use first:child and last:child after v-for in Vue.js? [closed]

I am having trouble manipulating the grid on v-for using first-child and last-child in Vue.js. Code: <div id="grid"> <NewsCard class="elements" v-for="perNews in news&...
rheina tamara's user avatar
0 votes
1 answer
49 views

Unable to add custom content between Reusable Components with Vue.js

I am trying to create a reusable button using components but the new content Sign In applied to the custom tag to replace the default content Custom Text is not working. Vue 2.6.11 | @vue/cli 4.5.13 I ...
axelmukwena's user avatar
  • 1,099
0 votes
2 answers
1k views

How to increase the quantity according to the input given in Vue

I have a screen like this: So basically I am trying to add the product into the cart. Currently, I am able to do it when the button is clicked. But I also want to add it when the amount was added in ...
magic bean's user avatar
0 votes
0 answers
383 views

Vue: dynamic "v-slot = { value }" causes div to be hidden

In Parent I included one ChildComponent as such: <template> <div> <ChildComponent :value="var1" v-slot="{value}"> <input v-model="value.name"/&...
Zhe Sheng Lim's user avatar
2 votes
0 answers
120 views

Vue component using the <code> does not re-render on change of prop

I am making a code snippet that shows the code of a html element. The snippet is suppose to change on press of buttons on other component. The text displayed on snippet is passed as prop to the code ...
amitbrickman's user avatar
0 votes
1 answer
265 views

Can I get event from Invisible Component?(Vue.js)

Can I get event from Invisible Component? At first, the 'LoadingSpinner.vue' is working with v-if is ture. and I send event from DisplayStatus. but, the ProcessingPage's method(processCompleted) doesn'...
Ghunhee Shin's user avatar
0 votes
0 answers
151 views

Manipulating an element's data in vue 2 (V-Model)

I have multiple elements on my component's template, and the data for it is imported from another JS file. I need to have a button, that when clicked, will change the contents of the h1 heading. I ...
fooobar's user avatar
  • 43

15 30 50 per page
1
2 3 4 5
10