Most voted "vue.js" questions
Vue.js is a Javascript library that combines MVVM (Model-view-viewmodel) for building interactive interfaces.
Learn more…765 questions
Sort by count of
-
1
votes0
answers79
viewsLaravel + Vue Lang.js Localization
I’m having trouble translating my page using the Lang.js in the Laravel. I need to get the chosen language in the user settings using the Axios, and translate using a filter Vue. The function…
-
1
votes1
answer85
viewsVue does not print props
I’m in a bit of a mess. We have a system in Vue with google maps API and we hope to open a modal window showing the details of each establishment by clicking on your map. The problem that the props…
-
1
votes1
answer144
viewsfilter routes by a prop in the meta. Vue.js
I have a prop in the goal of some routes called "displayname", I wanted to play all routes that had this prop in a navbar.. I have tried but unsuccessfully, so far I can pull all routes to the Nav…
-
1
votes1
answer640
viewsChanging content of a Vue component based on the URL
I would like to know how to change the content of a component based on a parameter that is in the url of my site. I’m developing a portfolio and in it I created a file called Works.See. I don’t know…
-
1
votes1
answer74
viewsWhy doesn’t my . map run?
I have the following function: function (markers) { const geocoder = new google.maps.Geocoder() const geocodingResults = [] markers.forEach((latLong) => { geocoder.geocode({ 'location': latLong…
-
1
votes0
answers109
viewsHow to save one or more fields in the database using Vue.js
I’m using a code in Vue.js that works as follows if I select a checkbox I can select the combobox, if I select the second checkbox, the second combobox appears and I can also select what is in the…
vue.jsasked 5 years, 7 months ago Daniel Cunha de Queiroz 11 -
1
votes1
answer225
viewsselect is not displaying API call data in Vue
I have a select that should display a list of objects returned by an API call, however Vue is not rendering the list. Objects are being stored in the variable, but are not being displayed. Below the…
vue.jsasked 5 years, 7 months ago Paulo Vinícius 126 -
1
votes1
answer127
viewsGrab the width of an image in VUE/JS
this code below when selecting an image generates a preview, i can for example grab the image type, but I can’t get the width, there is some way to get the width and height of the file? <input…
-
1
votes1
answer335
viewsFilter array value in VUE
I have the following array, which is a menu, I entered a search field at the beginning and would like that filtered case to show only items that contain certain text. <script> this.vue = new…
-
1
votes2
answers929
viewsChange the color of only one button in Vuejs
I have a styling problem in Vuejs. Through the v-get picked up 3 buttons of the API, so far so good. What I need is that when you click one of the 3 buttons it simply changes the color. When I try…
-
1
votes0
answers112
viewsHow do I send large files with Multipart/form-data?
Hello, a help I am developing an app with quasar but when creating a file upload with Component I can not send the files in small parts... look at the code... <template> <q-uploader…
-
1
votes1
answer262
viewshow to make js hope to resolve and start another
Hello I’m new and just turn in js currently using vueJs. but I still can’t turn normal process into async await, nor with promise, the old way. I know I have to get it into my head. I have a way in…
-
1
votes0
answers547
viewsI cannot access my Vue CLI project via IP
I start my Vue CLI (webpack template) project from the terminal with npm run dev and initializes everything normal. I can access my web project from localhost or 127.0.0.1, but when I try to access…
-
1
votes1
answer85
viewsError with Vuejs component, cannot declare global component in Vuejs
index.html <!DOCTYPE html> <html> <head> <link rel="stylesheet" href="style.css" /> <meta charset="utf-8" /> </head> <body> <div id="app">…
-
1
votes1
answer31
viewsWhy does vuejs say that this function does not exist? if it is working ok
I have the following code below the function openDados(), it works more within the return context of the call socket does not work because.. I remember seeing something similar like this = this…
-
1
votes1
answer68
viewsWhat is the risk of an error on an already loaded page?
I have an application where large data in AJAX requests are made, this generates a certain delay to place the data on the page. I need to render an image where your path is a array. In my…
-
1
votes1
answer289
viewsVue is not rendering table with v-for, how to solve?
My code is not rendering the list produtos defined by Vue. When I remove the template <pd> out of the table it renders, I looked for solutions and saw that in the very document of vuejs there…
-
1
votes1
answer60
viewsMerge 2 objects with Javascript ES6!
I have the following javascript objects.. headers: [ { text: 'Nome', value: 'nm_propriedade' }, { text: 'Área Segurada', value: 'nr_area_risco' }, { text: 'Início de plantio', value:…
-
1
votes1
answer332
viewsHow to add an input value to an existing value? Vue
I defined an initial value for each information in the graph, in case A,B and C, wanted to know how to add with a value that will be placed in the input. Project code: <div class="main">…
-
1
votes1
answer359
viewsError generating APK using Quasar framework
I am trying to generate the APK of an application made with Quasar Framework, but I get the following error: $ quasar build -m cordova -T android Checking Java JDK and Android SDK versions…
-
1
votes1
answer94
viewsComponents in Vue.js
I couldn’t understand how far I can divide my components in Vue.js It is common for an application to be organized into a component tree nested: For example, you may have components for a header,…
-
1
votes0
answers192
viewsImport external script file into Vue.js after build!
I have the following situation, I need to send only the build(dist) of a Vue project to the client, however he will need to create dynamic functions to validate some fields of a form, I have the…
-
1
votes1
answer85
viewsAdvantages of using Slot in Vue.js
What is the advantage of using the slot directive in Vue.JS? I can create items with different information though, but if I pass an array with several different objects and pick them to print on the…
-
1
votes1
answer284
viewsHow to validate child components using Veevalidate in Vuejs?
Personal I saw myself in the following situation, I have a parent component that calls Account and it encompasses various components like Accountaddress, Accountphone, etc... Each of these…
vue.jsasked 5 years, 1 month ago Guilherme Zanini 80 -
1
votes0
answers68
viewsError values props js
In the console browser displays this warning every time it selects a data in the form field, how do I resolve ? I set a component pai form complete separate I call on formfilho in another component.…
-
1
votes0
answers33
viewsRun scripts on route when accessed directly
Well I have a little problem that when someone accesses http://www.meulink.com/route without having opened directly in the index (http://www.meulink.com/) and navigated by menu, the scripts…
-
1
votes0
answers865
viewsRun function within Date in Vue.Js
In a Vue.Js component I use this Script template as in the example. On a getter, I inserted a Return of what is received const GetSegmento = () => (param) => { return (() => { return param…
-
1
votes1
answer85
viewsHow to merge properties of Javascript objects
Personal I am starting with Vue and I am with a small difficulty. In the image below I have a table with some items Every time an item is chosen and increased the amount I need my addOptional…
-
1
votes1
answer362
views#Vue2 How to obtain inputs from a row in the Vuetify table?
My table is this down, I didn’t put variables because I don’t think you do. I just want to understand how to get all the inputs of a row when I click the button of the same row so I can send with…
-
1
votes1
answer114
viewsHow to insert a Tooltip into an input field
The user of my system, uses notebook and inputs, not of a form but of filter, do not appear 100% on the screen of it, but it is normal, is responsive to some extent the project I have already walked…
-
1
votes3
answers147
viewsDelete copied array item without deleting the item from its source - Vuejs
I would like to clone a list of numbers and be able to manipulate that cloned list without changing the source, but in the following situation when I delete the item from the cloned array it deletes…
-
1
votes1
answer116
viewsUploading files with Vue.js and Filepond
I am developing an application that uploads files using the 'Filepond' library, which is a file manager. When selecting the file that will be uploaded, the library returns the file blob, which is…
-
1
votes1
answer48
viewsPass field for array sorting in VUE
I am trying to pass the name of the field where I want the array to be ordered, when I put the name directly works, passing the name through the variable no, I commented the lines the way it is not…
-
1
votes0
answers22
viewsProblem when referencing component in GSAP with Vuejs!
I am implementing an animation with GSAP in my project, when I use the ref in a common html tag works from good Ex: <div ref="element"></div> But when I do this on a Vuejs component it…
-
1
votes1
answer231
viewsUpload image with Vue.js + . net core 3.0
I’m trying to upload an image, but the image always comes as null on my controller This is my Viewmodel which I receive the image: public class UpdateViewModel { [Required(ErrorMessage = "Nome é um…
-
1
votes1
answer234
viewsAlign items always to the center horizontally
I am trying to get the following result on my page: But the actual result I’m getting is this: Now, the information: I’m using Skeletonjs and Vue The circles will be dynamic, so if for example there…
-
1
votes1
answer106
viewsproperties, and 'i18n' does not exist in type
Project "Vue": " 2.6.10", "Vue-i18n": " 8.15.3" I am configuring the internationalization of the project import Vue from 'vue' import App from './App.vue' import router from './router' import store…
-
1
votes1
answer131
viewsHow to Stop an Infinite Loop For - Vue
I’m doing a project with Vuejs and I have these two functions running through an array provided by a JSON fetch. import { api, getCep } from "@/services.js"; export default { name: 'Casos', data() {…
-
1
votes0
answers46
viewsVue router - problem with dynamic links
So, I am developing an application with Node and Vue, and I came up with a problem when generating dynamic links: In my backend I have a getBeerByStyle function (which works correctly). On my front,…
-
1
votes0
answers50
viewsHow to mock two components to perform cypress testing using mountVue()?
I am trying to mock two components using Cypress. These components were created in Vue. To perform unit tests I was able to mock using the mountVue() as you can see in the example below: import…
-
1
votes1
answer361
viewsStreaming videos with Nodejs
Good morning! I have a REST API running on Node with Express, and the frontend running Vuejs. The API returns me a list with the name of some videos that were previously stored in an Storage, and a…
-
1
votes1
answer65
viewsVuejs directive to update value in another field
Hello, I’m new in vuejs, I’m putting together a system to calculate the weight of a product... I have a vuetify combobox where will make available the product name, (I made an object array,…
-
1
votes1
answer102
viewsConfigure pre-fixed url of the application with Tomcat
I developed an application in Vue, managed the folder dist for production and managed to publish it using Tomcat. In this case I played the dist folder generated in the /webapps/helloWorld folder. I…
-
1
votes1
answer153
viewsHow to get the array value at the moment of clicking with Vue JS
I have been running a simple "for" command with Vue.js. I want to present in "console.log" what was the value clicked. I arrived at the result of presenting a static array value in console.log, but…
vue.jsasked 3 years, 11 months ago Renato Oliveira 51 -
1
votes0
answers27
viewsTypeerror: Cannot read Property '_wrapper' of Undefined
I am trying to send data via Emit to the parent component with the data to update my chart data, however the console gave this title error child component: refreshDados (){ var params = {}; for (var…
-
1
votes1
answer47
viewsI am unable to identify this error: [Vue warn]: Error in render: "Typeerror: Cannot read Property '$error' of Undefined"
<template> <div class="col-md-12"> <form class="form-horizontal" role="form"> <div class="tab-content"> <div class="form-group" v-bind:class="{ 'has-error':…
vue.jsasked 3 years, 8 months ago Rafael Barbosa 11 -
1
votes1
answer77
viewsPass return of a request Axios to component using props in Vuejs
I’m using data from a request via Axios to popular a component form, step these values via prop for some components within this form. The problem is that some components use the data within the…
-
1
votes2
answers94
viewsAction by clicking on the clear vuetify field
In a filter where fields are filled in there is the need sometimes to clear the field. I’m trying to clear a field and recognize the value of that action by clicking on the "x" to clear the form…
-
1
votes0
answers32
viewsProblem with Electron autoUpdate
Ola I’m trying to make a system of automatic updates using the autoupdater of Electron with Vue JS, a while ago I made this program the same way and it worked, nowadays it doesn’t work anymore. Code…
-
1
votes0
answers40
views'Cause I’m getting Undefined as a response qd call the function for the second time
Pq this function is only getting the right return once? data() { return { remaining: 8, doorsAmount: 10, ... openedDoors: [], }; }, methods: { openDoors() { if (this.remaining > 0) { let number =…