Skip to main content
The 2024 Developer Survey results are live! See the results

All Questions

Tagged with
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 ...
Supisara Khongthiang's user avatar
0 votes
1 answer
51 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, ...
theedchen's user avatar
  • 1,886
0 votes
0 answers
26 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)....
pol's user avatar
  • 11
0 votes
1 answer
40 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. ...
clair's user avatar
  • 1
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 ...
Muhammad Bilal's user avatar
0 votes
0 answers
42 views

Issue in vue js 2 hot reloading is not working

Vue.js 2 project that i newly installed by vue cli. hot reloading doesn't working. { "name": "blog", "version": "0.1.0", "private": true, &...
Bharat Manchanda's user avatar
0 votes
0 answers
45 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 ...
Wormsonn's user avatar
0 votes
1 answer
58 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 ...
Jakob Kovacs's user avatar
0 votes
2 answers
52 views

Handling a this.$router.replace(href); in vue 2

I am new to vue and working on vue code those before me created. So there is a lot of legacy code that is just too complex to change right now. The vue code can be in one of two states when a user ...
Sam Carleton's user avatar
  • 1,391
2 votes
1 answer
446 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....
atif thb's user avatar
0 votes
2 answers
35 views

How to add v-model to button of a child componen and bind on it in the parent component

i am using vue3 with options api as shown in the code posted below, in NotifDimsToLSRIncomformability component, i have a button. and NotifDimsToLSRIncomformability is being hosted in a parent ...
Amr's user avatar
  • 33
0 votes
1 answer
48 views

How to create and bind on vmodel of a button

i am using vue3 with options api as shown in the code posted below, i know how create a radio-button and how to bind on its properties. But my question is how to bind on properties of a button. as ...
Amr's user avatar
  • 33
0 votes
2 answers
79 views

Vue.js: How to convert an array to object?

In Vue.js: How do I convert an array to an object? I wanted to get name value only "Willy" from the array. Array data from LocalStorage: [{"id":"56b5","name":&...
Willy R. W.'s user avatar
0 votes
0 answers
39 views

Resolving i18n and field error in test case vue

<template> <v-dialog v-model="dialog" persistent :fullscreen="isMobile" max-width="755" style="z-index: 9999" > <v-...
Paresh Radadiya's user avatar
0 votes
0 answers
56 views

Vitest how to mock a function not defined in a Vue component

I'm using click event listeners in my Vue component to send events to our Silktide analytics. The example on their website is like this: <button id="basket-button">Add to basket</...
user2953989's user avatar
  • 2,917

15 30 50 per page
1
2 3 4 5
373