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
-
3
votes2
answers611
viewsHow do I filter a list in Vue with response ignoring accents and uppercase/lowercase?
I’m making a list filter by name, it works, but if I have a name registered as Gor, the filter does not work when I type. computed: { filtered: function () { const search = this.configs.search const…
-
3
votes1
answer136
viewsHow to perform a "back" Transition using Vue Router?
I’m making a simple transition in a webapp (using Animate.css), where the user clicks on a button and the current component leaves the screen on the left and the other component comes from right to…
-
3
votes1
answer54
viewsDoubts about how to rederizate ordered and organized array in v-for
I own a array from that JSON: [{ "cod_recurso": 36, "ativo": 1, "nome": "Aceita Animais de Pequeno Porte", "icone": null, "ref_cod_categoria": 4, "data_cadastro": "2018-11-19 10:44:19.24543",…
-
3
votes1
answer313
viewsInserting Vue Component into the DOM via jQuery
I’m using Vue in an application where I have a list of items and a button to add more items. By clicking add I load an external html with a component: <div class="gutters-8 col-lg-6"> <div…
-
3
votes1
answer64
viewsDirty Checking Angularjs and Vuejs
I really like the Angularjs, and when I read in articles about its discontinuation, it was that one of the main reasons was Dirty Checking. I think that Dirty Checking are the checks made by Two way…
-
3
votes2
answers78
viewsIs it correct and or indicated to merge in a 5.x Laravel project with the components developed in Vuejs 2 all within the same directory?
It is known that the integration between Laravel and Vue is good, however it would be indicated to use the Vue components within a Modular project? each time the application grows will be more tied…
-
3
votes1
answer296
viewsComponents in Spain
I read the documentation of Vue.JS and did not understand exactly... The above example (and some others in the future) uses Template strings to make templates of more than one line more readable. So…
-
3
votes1
answer106
viewsVue NUXT.JS, multiplies functions in asyncData
I’m a beginner in Vue with Nuxt, wanted to understand what the problem in this code that only the first function works: async asyncData () { const {data} = await axios.get('/api/skills/view') return…
-
3
votes1
answer64
viewsMultiple list Component calls
I have a basic user list with 4 columns (NAME | EMAIL | PHONE | OPTIONS). In the column options, for each record of the table I have an edit and remove button. I would like each edit button to…
-
3
votes1
answer625
viewsTaking data from Xios and vuejs
I have a very strange problem, I have the following code inside a component of Vuejs. I am developing a system where I choose the options through several checkboxes, and pass their id to that my…
-
3
votes2
answers164
viewsHow to conditional disable a link with bind href in Vue.js?
I have a project where will have an area dynamically populated with Vue.js. But items should be clickable or not depending on the level of each item. I know in Vue, you can use the v-if, but…
-
3
votes1
answer581
viewsHow to turn several asynchronous requests into synchronous?
How could I perform the function sortOrder as soon as the function getOrders complete all requests? The idea is to sort all orders by latest purchase date. Code mounted () { this.user =…
-
3
votes1
answer120
viewsSearch for array containing string and number
Hello, I have an array with the following extrusion ddd: [ 'SP', 11, 12, 13, 14, 15, 16, 17, 18, 19, 'RJ', 21, 22, 24, 'ES', 27, 28, 'MG', 31, 32, 33, 34, 35, 37, 38, 'PR', 41, 42, 43, 44, 45, 46,…
-
3
votes1
answer123
viewshow to generate an index.js for each build - Webpack
I am working on a nuxt/Vue.js project and applying the Atomic design methodology, so I will have many components, in different folders, example: ├── components │ ├── quarks │ │ └── ... │ ├── bosons…
-
3
votes1
answer82
viewsHow to pick variable that is in method and put in date ? Vue
I’m taking driver data in the api and seeing how many there are such categories (this is in the method). Right after I want to put this information on the chart (datasets) but I’m not getting it.…
-
3
votes1
answer57
viewsHow can I refactor this vuex Mutation?
I have the following scenario: I’m manipulating the object namespaced questions, within it exists list and news, want to create a mutation that adds a key value pair in questions within those two…
-
3
votes1
answer770
views$router.push is not working in Vuejs
Good evening, I’m starting my studies in web development and I chose Vuejs with Vuetify to begin with. Right away I’m not getting a page change by clicking on a button. I installed the Vue-router by…
-
3
votes1
answer51
viewsFailed to remove array element
I am creating a page that will filter some suggestions, where the user can vote on which are most interesting to him. I am dividing this screen into 3 tabs [Most Voted], [Newest] and [My Votes] When…
-
3
votes1
answer579
viewsCalling child method in parent component within a v-dialog
Hi, I’m trying to call a method that’s in the child component through the parent component. The HOWEVER is that if I involve the child component specifically in a 'v-dialog' the code does not work,…
-
2
votes1
answer853
viewsHow to consume authenticated API in Laravel with Vuejs?
I need to consume an API with Vuejs in Laravel 5.2, but it is authenticated, some hint for this process ?
-
2
votes1
answer1593
viewsUploading files with Vue-Resource
How do I upload an image with Vue-Resource!? I’ve tried several ways but I can’t! Someone has a functional example?
vue.jsasked 8 years, 2 months ago Gustavo Bissolli 181 -
2
votes1
answer1384
viewscreate a global role in Vue
Good afternoon, I’m a beginner in both javascript and Vue, and I’m having a hard time creating a global role in Vue. Could someone give me an example? Thank you
-
2
votes2
answers369
viewsError while rendering component
The browser page is empty and the following error appears in the console: Failed to resolve directive: ref After commenting and uncommenting various parts of my code, I discovered that the page only…
vue.jsasked 7 years, 10 months ago Guilherme Pressutto 413 -
2
votes1
answer74
viewsAttribute not defined in a Vue object
I’m doing a few things in Vue. And I have a problem here. Apparently there’s a mistake here and I have no idea what’s wrong. Console says title is not set. var cadastro = new Vue({ el:'#cadastro',…
-
2
votes1
answer604
viewsHow to use materialize components with Vue.js?
I have a dynamic table that updates according to an object array. In one of her columns I want to put a dropdown with the possible actions (edit, delete, etc). But the dropdown does not work and…
-
2
votes1
answer1824
viewsVuejs Graphics Creation Library?
I’m in need of graphics generation, and I’m using the Vuejs framework, along with Quasar. I wonder if anyone knows or knows any library so I can generate these graphics; I’ve seen some, but the…
-
2
votes1
answer133
viewsVuejs with Vuetable2
I’m trying to use the Vuetable-2 sending the information via props data. I searched several sites, tested and nothing worked, including found this example in the format I need, but it doesn’t work…
-
2
votes1
answer941
viewsChange page content when clicking on link in Vuejs
I have an email application and I have a side menu with all the mailboxes that will be available to the user. Here’s a screenshot: What I want to do is: Each time I select (click) an item from that…
-
2
votes1
answer1087
viewsHow to verify if a String is encoded in Base64?
I am working on an email application using Vuejs/Quasar on the client and Hapijs on the server, and some emails (depends on the sender) comes with the text encoded in Base64, and others not. Here…
-
2
votes2
answers1804
viewsSort list with Vue
Ba late gentlemen, I’m beginner with Vi and I’m creating a list, but I’m having a hard time understanding how I will sort list by clicking on the column title follow example: new Vue({ el: "#lista",…
-
2
votes0
answers164
viewsPick up file path after upload?
I am making an email application using Vuejs and I am in the attachments part, and I want to get the file path because only it is enough for me to send the attachment using nodemailer. Is there any…
-
2
votes1
answer206
viewsI’m having trouble loading bootstrap-js
import Vue from 'vue' import App from './App.vue' import BootstrapVue from 'bootstrap-vue' import 'bootstrap/dist/css/bootstrap.css' import 'bootstrap-vue/dist/bootstrap- vue.css'…
-
2
votes2
answers737
viewsPerform function after given time you have stopped typing (keyup) Vuejs or Pure JS
I’m trying to make that when I stop typing in the input, the system waits a second to do my search and return my result, but I’m not getting it. The system is being made in Vuejs <input…
-
2
votes1
answer81
viewsscript import in wrong order, Function not defined
I have a Vue Component (Map.vue): <template> ... </template> <script> import '../../assets/js/map.js' export default { name: 'home', data () { return { init_data: {}, } }, created:…
-
2
votes1
answer60
viewsError of a Vue project with Laravel
The first mistake is saying that you’re in this place called main.js, and I found no error in this file; import Vue from 'vue' import app from './app' require('./bootstrap'); new…
-
2
votes1
answer1015
viewsIDE for development in Vuejs
I’m starting out in vueJS and I’d like to know which IDE you advise? I use netbeans for HTML, PHP, JS, etc. Can you integrate vueJS into netbeans? There are some pluing for this?
vue.jsasked 6 years, 11 months ago Helder Pereira 121 -
2
votes2
answers160
viewsDynamic properties in Vue 2
I’m studying reactive frameworks for a project, and one of the features I need is the creation of dynamic properties, in angularJs just start a ng-model that the property was created, but I see that…
vue.jsasked 6 years, 11 months ago Felipe Duarte 6,284 -
2
votes1
answer117
viewsVue JS always removing the first item
Regardless of which line I try to delete, it always deletes the first: Returns the following error: Property or method "$index" is not defined on the instance but referenced during render. Make sure…
vue.jsasked 7 years, 1 month ago Lucas Caresia 2,663 -
2
votes0
answers183
viewsConfiguration of Response Headers
I created an Express server and my client in Quasar/Vuejs. I need to send a PDF to my client, the PDF in question is already created on the server, but I am facing problems to send it to the client.…
-
2
votes1
answer419
viewsPass $route as parameter to a Vue JS function
It is possible to pass $route as a parameter for a function? <v-btn color="info" v-on:click="getProximo('this.$route')"> Próximo </v-btn> I need to get a parameter that’s in $route, but…
-
2
votes1
answer827
viewsHow to view files before downloading?
I want a PDF (generated on my server) sent to my client and opened in a new tab before it is downloaded. I have already managed to have it downloaded directly when it comes from the server to the…
-
2
votes1
answer210
viewsRename Pdf file before opening for preview
I am receiving a PDF file in the Answer of a POST request, and on the server side I have configured the file name and everything else. But now I’m visualizing it in the browser instead of…
-
2
votes1
answer460
viewsOpen Modal Vuetify
I’m having difficulty opening a Modal with Vue, I’m using Vuetify, I can open, as they show in the documentation, but I can’t open, just by clicking on a button (for example). <v-dialog…
-
2
votes1
answer139
viewsVuejs: is it possible to know which was the last object changed?
I have the following problem, I need the functionality of "back" in a button, if I am in the foot2 when I click I go back to the foot1 and from the foot3 to the foot2, it is possible to pick up the…
-
2
votes0
answers210
viewsUpload multiple files using the same request?
I am using the Vuejs/Quasar Framework to do the front end of my application and Hapijs to do the server. And in the uploading part of the attachments I’m running a test with uploading multiple…
-
2
votes1
answer1038
viewsRuoting with Laravel and Vuejs
I’m starting with Laravel and Vue and I’m having an absurd difficulty finding something that shows or teaches how to routing using Laravel and vuejs. I want to create a simple SPA app with Laravel…
-
2
votes1
answer217
viewsDo not stop setTimeOut when changing browser tabs
I’m building an accountant with vueJS and I noticed that the count stops when I change the focus of the tab; at first I’m using the function setTimeoutjavscript: setTimeout(() => { this.time++…
-
2
votes1
answer27
viewsActive problems with Vue.Js
See below the structure of my small project; <!DOCTYPE html> <html> <head> <title>My books</title> <link rel="stylesheet" type="text/css"…
-
2
votes1
answer1335
viewsError: Cannot read Property 'Protocol' of Undefined
Template: <input type="text" v-model.trim="enterURL" placeholder="Enter URL here" @keyup.enter="Entered"> <v-btn icon @click.native.stop="Entered"> <v-icon>send</v-icon>…
-
2
votes2
answers43
viewsList creation problem in Vue.js
is part of the HTML code in question: <div class="row"> <h1>Minha lista de elementos</h1> <input type="text" class="form-control" v-model="newElement"…