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
votes1
answer451
viewsImport js file in vuejs and Laravel template
I am creating a simple application and need to import some specific js and css files on a given page but how do you do that? In my template (Login.Vue) I tried <script>…
-
1
votes1
answer99
viewsAccess prop through Watchers in Vuejs
A similar problem has been solved in this issue: Access prop in Vuejs method Where a prop era null for the requisition ajax of the parent component had not yet concluded; but in my case the prop is…
-
1
votes0
answers215
viewsAttach file in email application?
I am developing an email application and the front end is being done in Vuejs/Quasar Framework and the server is being developed with Hapijs. I’ve managed to send simple emails using Nodemailer and…
-
1
votes1
answer641
viewsRestricted pages according to user permission - vuejs / Standard
How to allow or prevent a user from accessing a particular page? Let’s say the user is not allowed to access the page finanças. Where do I inform on the route of vuejs the access permissions of this…
vue.jsasked 6 years, 8 months ago Felipe Paz 358 -
1
votes1
answer2391
viewsVue 2: Take input value without using v-model
I’m already detecting when the pressure is enter in the input, how can I make to catch the current value that input too? Can’t be with v-model, because I need to leave a value default, as shown in…
-
1
votes1
answer113
viewsConvert Camelcase strings to kebab-case
I have a list of buttons... <button @click="chamaEstilo($event)" :data-el="index" class="buttonEstilo" v-for="(item, index) in filteredList" :key="index" v-if="verificaRestricao(item)" >…
-
1
votes1
answer4044
viewsBackground Image with Vuetify
How do I put a "background-image" in vuetify applications? I tried to insert through css but the upload is not obeyed. I did it this way: https://codepen.io/anon/pen/xjZEdB…
-
1
votes2
answers613
viewsProblems loading a list of Json in Vue.js
note the Javascript code below; var app = new Vue({ el:'#app', data:{ bancodedados:[] }, methods:{ }, created:function(){ var self = this;…
-
1
votes1
answer309
viewsVuejs: How to access data from a v-for within a method?
I have the following problem, I need to manipulate some variables that are in my date, through a click, which is within a list (v-for). But I can only create the condition directly inside the click,…
-
1
votes1
answer85
viewsExpression error in Vue.js with filterBy
This is the excerpt of the code that is in trouble; <div class="well"> <input type="search" v-model="MySearch" class="form-control" placeholder="Search"/> </div> <div…
-
1
votes0
answers73
viewsHow to color part of a text inside the input using REGEX or if you have any VUEJS plugin
My problem is the following I have an input with the text. Ex.: "I will add this new text". When the text is selected I change it to stay between keys. Ex.: "I will {{add}} this new text". SO FAR I…
-
1
votes1
answer461
viewsImport Axios in Mixins Vuejs
Is it possible I import the Axios no Mixins? I have a Rest API and am putting in a Mixin my code of GET, but I use Axios for that. When I try to import the Axios within the Mixins, he returns me:…
-
1
votes1
answer62
viewsI can’t show data with Vue js
I can’t show data with Vue js, in my html I have: <div class="panel"> <div class="panel-body"> <div class="col-md-3"><img src="../images/aeracao/produto.png"…
vue.jsasked 7 years ago Catana Rahmeier 21 -
1
votes2
answers446
viewsAccents problem in Vue-json-excel
I’m using the vue-json-excel to export an Excel spreadsheet (I have the table on my screen and use it to export the same data to excel). Until then, everything works perfectly, however, I had…
-
1
votes0
answers258
viewsVuejs Select Multiple Array Undefined
I have a Rest API who returns me CategoriaList and CategoriaSelected. He’s giving conflict when I do with a Select Multiple in the HTML Categories. <template> <select multiple…
-
1
votes1
answer334
viewsPaths in separate files with Vuejs
Can I create routes in separate files in Vuejs? I currently have this folder structure |- main.js | |- Grupos |- grupos.vue |- Artigos |- artigos.vue main.js import Vue from 'vue' import VueRouter…
-
1
votes2
answers1295
viewsWhat is the difference between prop and Emit in Vue.js?
I know that prop is from parent component to son and Emit is from son to father. But I would like an example of the use of both so I can better understand the concept!
-
1
votes1
answer94
viewsInternet data consumption using Vue.Js or similar
Good morning, I have an application in Vue, where the upper and lateral Nav are static, and the content (body) is loaded according to the requests made in the Nav links. Vue speeds up the use a lot,…
-
1
votes0
answers384
viewsError in render: "Typeerror: Cannot read Property 'phone' of Undefined"
I’m using Vue.js and I came across the title error. I have an object with array: students[ contact: { mobile: null, phone: null } ], The array contact is not always filled. How do I not give…
-
1
votes1
answer94
viewsVuejs Event with Mixins
I’m testing Mixins on Vuejs and I have a question. It’s like I call an event directly from a Mixins without having to assign in mine methods ? Mymixins.js import Vue from 'vue' Vue.mixin({ methods:…
-
1
votes0
answers470
viewsHow to limit the upload of an image through its size in pixels?
I’m making an application with Vuejs and I have an image upload input and I want to set an image size limit for upload, not in KB or MB, but rather based on your pixels I mean, only allow the upload…
-
1
votes2
answers113
viewsDoes the component import order interfere with performance?
Today I wondered about a question in the component import order, whether it be this in Angular, React, or Vue. Would the component import order refer to order of use, improve performance or nothing…
-
1
votes2
answers188
viewsreverse push order
I’m using the push in a request to put a new element in a list, but I noticed that the push puts the last result down there. I want to reverse that. I’m using v-for to list, but I believe that the…
-
1
votes1
answer45
viewsHow to add a new position to the object based on other fields
Good morning gentlemen, I have the following object array: [{ key:"-Kw05MQXBFh8uUxDml-v", datainicio:"2017-10-09", dataprevisao:"2017-10-13", descricao:"teste", etapa:"A testar", numero:"56789",…
-
1
votes3
answers616
viewsFirst leave selected select item
Good afternoon, everybody, how are you? Next, I’m listing some courses with v-for and it goes well, however, option needs to be selected and I would like the first item of select to already appear…
-
1
votes1
answer302
viewsHow to use jquery plugin in vuejs2
I am faced with difficulty when setting settings for the component that uses jquery in vuejs2. <div id="app"> <date-picker @update-date="updateDate" timepicker= "false"…
-
1
votes1
answer580
viewsDo v-for only with number
It is possible to make a v-for using only a total number? Example: I would pass a variable with value 10, it would loop from 1 to 10, like the JS example below: for(var i = 1; i <= num_parcelas;…
-
1
votes0
answers169
viewsWhich Front End Framework should I invest in
I have seen many posts and comments not counting numerous job openings that require different frameworks Frontend as Angular(JS, 2, 4), Reactjs, Vuejs that by the reads I have done seem all able to…
-
1
votes1
answer136
viewsLogic Promisses or callback with Sweetalert and Vuejs
I’m trying to make a callback to perform some functions, I don’t know if I should use Promisses, callbacks or something more advanced. This problem is more about logic I own a Mixin that triggers…
-
1
votes0
answers201
viewsHow to configure Laravel on Heroku?
Greeting to all, I put an Laravel project in Heroku, and can configure the data group with my Laravel project, or if, manage to migrate the database using php commands in Heroku, to be able to make…
-
1
votes2
answers706
viewsI calculate value with Comma with Vue.JS
Good afternoon, Vue.JS can calculate directly in mustache {{}} but when a value comes with comma, Nan appears the result that is, if the variable is value = 2 and I do {{ value - 1 }} it displays 1…
-
1
votes0
answers448
viewsHow to load select in Vuejs
I managed to implement the edit button, by clicking the button it will load all the records that exist in a database in a folder, I can load all fields except the selects. The problem is I’m not…
-
1
votes3
answers1300
viewsHow to remove item from an array by filtering by value?
I have a certain array: acoes_selecionadas: ['nome1', 'nome2']; I’m using that function, but splice works based on element ID, need to find a way to remove by value. seta_vender: function() {…
-
1
votes0
answers65
viewsThe Heroku server does not recognize my vueJs file
I made the deploy of my Laravel project as shown in the video below: CLICK ON THE VIDEO Everything worked out, but when I went to load the page again appeared this: When trying to perform any…
-
1
votes1
answer151
viewsShow button only when scroll bar descends, using vuetify
Hello. I am creating a "go to the top of the page" button using vuetify. I can get him to the top with the following code: @click="$vuetify.goTo(0,0) But now I would like it only to appear if I…
-
1
votes1
answer94
viewsHow to make a filter with a text field
I want to use the value of #search as a filter (only the field name from the JSON) to the v-for. The text inserted in #search and the way the filter is going to be is actually indifferent to me,…
-
1
votes1
answer38
viewsHow to declare routes that are cached and other routes that are not stored?
Good morning. I am developing a SPA system whose part is available only when the user is online and another is available even offline. The offline part is configured in the service worker but a…
-
1
votes2
answers954
viewsWhat’s the difference between Vue and Vue-cli
What’s the difference between VUE.JS for VUE-cli. Is there any difference? I honestly couldn’t find the difference.
vue.jsasked 5 years, 9 months ago João Filipe 123 -
1
votes1
answer144
viewsImport js script and css file within a specific component
Well, I have a template that on certain pages you need specific files to upload. So how do I import a css or js file into the page you need? Let’s say the page home do not need, but on the page user…
-
1
votes0
answers120
viewsI’m having trouble showing the page by Vue.js using Electron
when I was opening the app by electron the page did not open and when I went to display by the console it shows the following error: "[Vue warn]: You are using the Runtime-only build of Vue Where…
-
1
votes1
answer126
viewsI need to make my Javascript file see the Vue and Axios files
I recently created an Laravel project that is using Vuejs and Axios, and then sent it to the Heroku server, but something strange happened, the page is with the very strange view is giving error in…
-
1
votes1
answer202
viewsDoubt about file generated after using npm run build with Vue-cli + webpack
I’m studying and developing a spa, and I noticed that using the remote npm run build it generates two files app.js and app.map.js I didn’t mean why this file .map someone can explain to me why?…
-
1
votes0
answers286
viewsVuejs: how to pass data from one array to another array?
I have the following problem: I have two separate lists and need to pass the selected data (checkbox) to the other list by removing the selected item and placing it in the other list (along with its…
-
1
votes0
answers19
viewsbotui.action.select
Talk, you guys, baby? I need a help here in vuejs, but precisely in botUI API. I have the following select action: const response = await this.instance.action.select({ action: { placeholder:…
-
1
votes1
answer710
viewsHow to verify that the user is logged in to Vuejs + Laravel 5.5?
I am following a course of Laravel 5.5 + Vuejs, and putting into practice what is being taught. However, it doesn’t address authentication at the moment, and as I’m structuring the whole project to…
-
1
votes1
answer117
viewsVue js render video
I have the following component: <div v-for="video in videos" :key="video.title"> <video class="video-js" controls preload="auto"> <source v-bind:src="video.src" type="video/mp4">…
-
1
votes1
answer21
viewsOrdering prop based on another prop
Hello, I have a component that should receive two props, one that indicates if this component needs a date and a date that should be passed if and only if the component needs a date. Thus, the…
vue.jsasked 6 years, 10 months ago Matheus Bafutto 65 -
1
votes2
answers564
viewsConsume Json Vuejs2 with Axios
I’m trying to popular a list with a JSON, but I’m having problems. I can only make the list by placing Inline in the array, but there is only one item in the list and I cannot make it populated with…
-
1
votes1
answer254
viewsDropdown menu with v-if vuejs
How to add an effect dropdown to this vertical menu, so that when placing the mouse on top it opens the ul daughter if she exists. I thought I’d do it with v-if by clicking on li Dad, but I don’t…
-
1
votes1
answer150
viewsHow to do line breaking in a Vue tag?
Guys, I’m trying to break the line on the cards in the picture, but I can’t. I’ve done it, Row, I’ve made align (of all kinds), I’m not getting it. These cards are stored in an array, there are 52…