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
-
0
votes1
answer38
viewsAdd Class to elements other than this Hover
I have a list of links, and I need to add the class "fade" in all elements that are not in Hover. new Vue({ el: "#app", data: { active: false }, methods: { mouseOver: function () {…
vue.jsasked 6 years, 5 months ago Dallington Augusto 25 -
0
votes1
answer145
viewsAttribute":SRC" not working in Vue?
Hello I would like to understand pq the ":SRC" is not working in Vue js, I tried to render an image that has its path inside the property "img", but simply does not work. picture tag: <img…
-
0
votes0
answers27
viewsVue Js - Transition only when component is visible
I am making some transitions using the Transition tag and they are working perfectly. The problem is that transitions happen even if the component is not visible, I wanted it to happen only when the…
-
0
votes1
answer226
viewsVue-router replace not working?
I am developing a PWA and I am having problems with the router, because when I use the back button of my smartphone it goes through all the previously visited routes only to after exit the…
-
0
votes1
answer119
viewsVue-router + firebase
I’m trying to make a login system with Vue and firebase, but I’m having trouble redirecting the user after authentication: login: function () { firebase.auth().signInWithEmailAndPassword(this.email,…
-
0
votes2
answers169
viewsHow to load an image src url into Quasar/Vuejs
How do I load an image src template? I tried it this way <img :src="$axios.get(`/uploader/hotels/${hotel.photo}`)"/> but the result is a [object Promise] with strange return:…
-
0
votes1
answer55
viewsReactivity in event
I have a problem changing the rendering state of an element with Vue js. It was generated with a for. The goal is to get the box-body mini panel is displayed by clicking on button. however the state…
-
0
votes1
answer938
viewssubmit form with vuejs
I am trying to submit this form, but of the error when making the post. My object is empty so the api does not let insert in the database and the error. I would like help to know why the form data…
-
0
votes1
answer493
viewsupdate with Vue.js
This is the code of my Component Listproducts.I was wondering how I can pass an id through the change button for when I create my Updateproducts.Pull the data that will be changed and then make the…
-
0
votes1
answer128
viewsHow to use v-for with components, using array?
I’m using the question below to better illustrate my question. Vue is not rendering table with v-for, how to solve? How do I do the same thing? Only by displaying a listing, using a component, but…
-
0
votes1
answer34
viewsShare code (React or Vue) between more than one project
Let’s say that I have the web application in React or Vue. Part of the code I will reuse to several clients, about 70%. The other 30% would be layout changes and some extra COMPONENT that each…
-
0
votes1
answer23
viewsRequest get Failing
Hello, I have a problem that is affecting my development. I am developing an application that uses Axios and Vue.js and I wish to make a first get on a data that will go to a props and in that it…
-
0
votes1
answer78
viewsGetting nested Sources in the Rails controller
Good evening, this is my first post here, I’m learning to use the tool, sorry if I did something wrong. But here’s the problem... I’m trying to make a clone of "Trello" in Rails for a college…
-
0
votes0
answers82
viewsView data from an Api in V-CALENDAR Vuetify Vuejs
Hello, I have the following data coming from my api: [ { "id": 1, "start": "2020-12-24 01:00", "end": "2020-12-24 01:30", "comments": null, "createdAt": "2020-12-24T19:37:52.699Z", "updatedAt":…
-
0
votes1
answer33
viewsHow to rewrite this code in Vue.js?
wanted to rewrite that code on Vue.js…
vue.jsasked 3 years, 8 months ago Samuel Oliveira 13 -
0
votes1
answer41
viewsHow to pass a component in Vue to variable?
I have the following code: <template> <div> <h2><Info/></h2> <input type="text" maxlength="1" value=`<Info/>`/> <input type="text" maxlength="1" />…
-
0
votes1
answer29
viewsSearch filter with JS
I am making a search filter with Vue.js and in my filter I would like to search name and email, but I only managed to do with the name of the user, how to put another "argument". The code is like…
-
0
votes1
answer140
viewsProblems to render Vue.js main.js
I’m new to Vue and I need to maintain a project.. the problem is this: I have in main.js the route scheme.. main.js import Vue from 'vue' const app = new Vue({ el: '#app', data: { message: 'Hello…
-
0
votes0
answers48
viewsHow do I return the value within a . then in Vue JS?
I’m new to Vue and Firebase, I have the following problem: I want to return the generated value inside then, in the console.log that is inside then returns the id that was generated, but when I…
-
0
votes1
answer514
views"export 'default' (Imported as 'Chart') was not found in 'Chart.js'
When I give one import Chart from 'chart.js' this error appears on the terminal: "export 'default' (imported as 'Chart') was not found in 'chart.js' And those bugs on the console: Error in mounted…
-
0
votes1
answer33
viewsInline vuejs edition
When you click on the note column all inputs will appear. I wanted each input to appear when clicked on the corresponding row. new Vue({ el: '#app', data: { nota:'nota', edit: '', myclass: 'before',…
-
0
votes1
answer142
viewsHow to "bind" a Vue.js variable without using the keys
I’m starting to work now with Laravel 5 + Vue.js and I’m having problems with loading my page. My Vue variables are exposed at startup and are only rendered after javascript loads. My example is the…
-
0
votes0
answers7
viewsGroovy files . vm and vuejs
Hello, I researched my doubt but found nothing, or at least nothing related. My doubt: I have a legacy project, in it there are groovy files, . vm, js,css and so on, I understand that groovy…
-
0
votes1
answer19
viewsHow to consume API in Vue to condition a route
I have the following code, I need the const 'exist' to receive information from an api object, I am trying to use Axios but without success. const existe = informação da api; export default [ {…
-
0
votes0
answers5
viewsHow to change the v-select top
Is there any way I can change the "top" of the v-select list without forcing a css? example: How I’d like you to stay:…
-
0
votes0
answers20
viewsWhat’s the difference between the setup and date on Vue?
I recently came across a new property setup and I’m not really understanding her difference to the traditional data : setup () { } : data () { return { } }…
-
0
votes1
answer20
viewsToggle class in Vuejs
I have 3 div with the class ('option') and I have a class as the name of ('Selected'). I would like to remove the class from the div that is already with ('Selected') and switch to the other with…
-
0
votes0
answers9
viewsSet bootstrap-Vue col according to resolution
in a code Vue I have the following b-col <b-col class="card-image-top col-xs-12 col-sm-6 col-lg-4 col-xl-3"> The last item should be col-Xl-3 if the resolution is less than 1400px and col-Xs-4…
-
0
votes1
answer33
viewsHow not to present in html the keys of a vector in VUE.js application
I’m playing a simple application with Vue.js, when checking some checkbox the options marked are shown in Html, until then it works normal, only the problem is that the brackets of the vector keep…
-
0
votes0
answers16
viewsReact, Vue or angular
need one of the Vue or angular React framework or have how to do everything without it another detail, I can use the nodejs libraries without the above framework another detail, out of these 3 have…
-
0
votes1
answer42
viewsCreate a link to a single password-free user in the database
Currently I have a BD of budgets, customers and workshops. When I demand a customer I have to quote in the workshops the value and then choose the best cost x benefit and pass on to the customer.…
-
0
votes1
answer285
viewsProblem including JS file in project with Vuejs 2
I have the following problem: By including a local file . js in my project with Vuejs I get the following error message. Follow my structure and code: I realized that if you include an external…
-
0
votes1
answer53
viewsAccess to property value
I have a method where I need to take the number of each table, but the return is always the length of the property and not its value. If I leave only one table the method correctly returns the value…
-
0
votes0
answers73
viewsError setting coordinates in google maps with Vue js
I’m having a problem setting the points (Makers) of the javascript api google maps. When I get the coordinates of the variable, and Seto in my map it restarts the component and erases the value of…
-
0
votes0
answers243
viewsProblem with Axios headers | Application => Laravel + Vue.js
I am trying to make a request with Xios, but I can’t always get the following error: admin:1 Failed to load http://minhaurlencurtada: Response to preflight request doesn't pass access control check:…
-
0
votes0
answers78
viewsMany checkboxes locking browser with Materialize CSS
I have a problem which is this:: I’m using Materialize CSS, and Vue Js. I have a table with entries, and in each register has a checkbox next to it to be able to perform some action with this…
-
0
votes1
answer178
viewsv-model does not work in vuejs
In a simple test in Vue.Js, following the example of documentation, span never displays the data selected by select. select is mounted by Vue, but the variable select is not mirror. <div…
vue.jsasked 6 years ago David Dias 995 -
0
votes1
answer32
viewsUsing component data in the create method in Vuejs
I’m trying to pass data from one component to another using the $bus method: Vue.component('porcentagens',{ data: function(){ return { porcentagemSangramentoMarginal: 0, porcentagemPlaca: 0,…
vue.jsasked 5 years, 12 months ago Jorge Saba 67 -
0
votes2
answers402
viewsHow to make a mockery (consult only after you finish typing in the input) in VUEJS?
I come from Angularjs and, at certain times, when I need to make a query according to what the user is searching, I use ng-change, but I agree with him ng-model-options="{debounce: 500}". This makes…
-
0
votes1
answer414
viewsHow popular is Chartjs Chart with Vuejs and Axios?
I’m not getting popular my chart with data vintos of an api, can help me, I don’t know what I’m doing wrong! <template> <div class="py-1 bg-light px-5"> <div class="col-12 my-2">…
-
0
votes1
answer472
viewsUpdate v-for in Vue.js
Hey guys, I’m having a slight problem here on my Vue.js. I have a variable user.activeItems, in HTML I give a v-for on this variable, to show the active items, as follows: <div…
-
0
votes1
answer208
viewsHow to add a class to a label tag of an input dynamically selected by Vue.js?
I am using Boostrap and have a sector in the form where the client will choose some items, and when clicking on the item the bootstrap adds the class active in the selected item, and with css I make…
-
0
votes1
answer257
viewsClose a modal after completing the action in the quasar framework
I have this modal as a son Component: <template> <q-modal v-model="opened" :content-css="{width: '40%', minHeight: '300px', padding: '0 15px'}" no-esc-dismiss no-backdrop-dismiss>…
-
0
votes1
answer56
viewsVue.js build error in Laravel
I am getting the following error while saving the app.js file: https://imgur.com/a/akBRZ5D The arches are these: app js.: require('./bootstrap'); window.Vue = require('vue');…
-
0
votes1
answer1945
viewsPaging with Vue.Js
I created a component that does the paging and takes the items sent by the server that are already paginated in 5 per page. The next button works correctly bringing all pages, but the pagination…
-
0
votes0
answers100
viewsInsertion with relationship N:N
I have these text inputs, in a way people can choose to fill them or not. Or just fill in some of them. I send the data from this form via Xios in an array (I don’t know if it’s the best way, so I’m…
-
0
votes1
answer578
viewsAxios GET is not collecting any information
Save it, I’m having trouble collecting data from a weather API. My goal is to collect much of the rain data and for this I am using Vue Axios but I can not collect anything because even after…
-
0
votes1
answer99
viewsHow to use dynamic key in multidimensional json in v-model in Vue.js?
I’m having trouble selecting the options of a select with the data from beginning and end within the dynamic keys of the following multidimensional json: rowsels:…
-
0
votes0
answers241
viewsStructuring Vue Components in Laravel
Hello I’m beginner with Vuejs and I’m trying to implement it in a project Laravel 5.7 my. I currently own a few Components and I’m about to create some more and I see that it’s kind of messy…
-
0
votes0
answers140
viewsHave you been in conflict with Bootstrap?
I am implemented Vuejs in an Laravel5.7 mine and I realized that this occurring apparently a conflict with almost all my Nav-tabs, because when I change tab in Nav-tabs, regardless of how many tabs…