Skip to main content

All Questions

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
5 votes
3 answers
2k views

(this.internalValue || []).findIndex is not a function when enabling multiple selection on v-select

I am using Vue.js with Vuetify. Following is my minimal reproducible example: <template> <v-app> <v-select v-model="site" :items="sites" item-value="_id&...
Santosh Kumar's user avatar
0 votes
1 answer
210 views

sorting not working for Date field in Vuejs

I need to apply sorting and pagination logic for two tables in a single component in VueJS using stable methods. Currently i am able to do sorting and pagination for a single table using below link. ...
hari's user avatar
  • 5
10 votes
7 answers
21k views

Call parent methods from child components (Vue.js)

I'm doing a project and I need to call parent methods from child components. How can this be accomplished in Vue.js?
Ruhith Udakara's user avatar
0 votes
1 answer
1k views

vue cli version is not showing

Am trying to run vue.js app for that I have installed vue cli by folliwng the official website("https://cli.vuejs.org/guide/installation.html"). When i execute any vue commands getting below error, I ...
Andy's user avatar
  • 53
1 vote
1 answer
629 views

Passing a value from database to vue component and assigning it to a variable

I am trying to pass a value from my database and then assign that value to a variable in my Vue Component. This successfully gets the data from the database however i get error when assigning that ...
J Moss's user avatar
  • 205
1 vote
1 answer
6k views

Error in v-on handler (Promise/async): "TypeError: Cannot read property 'data' of undefined" // undefined

I am trying to push data from a v-text-field onto a json file. When i tried it on Postman it worked so I'm guessing the error is coming from the client side product.vue <v-container> <v-...
J Moss's user avatar
  • 205
2 votes
2 answers
3k views

Error: Cannot find module '…/webpack' Vue js

npm run build throwing error. Where is the problem? Used npm install --save-dev webpack npm install --save-dev webpack-dev-server I'ts not working, any idea?
engr muzamil khoso's user avatar
3 votes
2 answers
3k views

import and export all .vue files from the folder

I'm working on a VueJS project. I have a folder with several single file components and I need to export all in one index.js so I have this code import a from './a.vue' import b from './b.vue' ...
Yung Silva's user avatar
  • 1,530
3 votes
1 answer
517 views

Is there any feasible solution to split the components template into multiple parts in Vue js?

I have a component and it has different template-content based on the props value. I feel like the component's structure isn't good enough and it'll be really uncomfortable for any person to ...
Víñịt Vịłłă's user avatar
1 vote
1 answer
3k views

Vue.js access nested object in v-for loop

I'd like to access the "newest" object of a nested object array inside another object array in Vue.js. Please see the example below. Example Object elements: [ { 'name': 'foo', 'content': [...
alexschomb's user avatar
3 votes
1 answer
7k views

Populating options for select using v-for VueJS after handling load data event

I have this VueJS application written using Typescript. I'm using Axios to get data from my database. This works well and the result I get is an array which is what I was expecting. When I do console....
M. H's user avatar
  • 339
1 vote
1 answer
6k views

Read data from a mongodb database using vuejs and nodejs

I'm creating a web application to visualize in real time the temperature of my room. Currently I read the value with raspberry and then load the database Mongodb. Now to display it in real time on my ...
Salvatore Raccardi's user avatar
1 vote
1 answer
135 views

Vue not opens .json file with axios hook

Making my first steps in vue. I am crashing in importing a .json file. This job concernes a small shop. Goal of this paragraph is to enter 4 products in the shop. The productfiles are imported with an ...
Tichel's user avatar
  • 531
0 votes
2 answers
944 views

Vue won't read JSON response?

If /scheduled_jobs/list returns a JSON object, why is my Vue component not reading it? Here's the component: <template> <div> <ul v-if="jobs.length"> <li ...
t56k's user avatar
  • 7,031

15 30 50 per page