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
votes0
answers54
viewsAjax request does not reach the server when the body is too large
In an ajax call I make to the server in a report generation function I am finding a situation. When in the request body I send a small array, with 20 positions everything happens normally, but when…
-
0
votes1
answer123
viewsHow to work with if in a Vue.js application
I am new as Javascript programmer and I’m having a difficulty that maybe for some is no problem. observe the HTML code well; <tbody> <tr v-for="bancodedado in filteredBancodedaos ">…
-
0
votes1
answer86
viewsIs it possible to take the use of RAM memory using vuejs or in php?
Hello, I wonder if it is possible to make a system in vuejs or directly in php that takes how many of RAM memory I am using in total, with all programs.
-
0
votes0
answers245
viewsChange the color of the text in the input using Vuejs/Html/css
For example on Facebook when we type Congratulations so and so inside the input the word congratulations gets bold and orange and the person continues typing normally... ie ... when the person type…
-
0
votes1
answer88
viewsIs it possible to separate the value from the JSON item?
Let’s say I have such an object: { "parametros": { "carteira": "RG", "taxaboleto": "0.00", "multa": "0.00", "juros": "0.00" } } Is it possible that I can extract the name of the object item? For…
-
0
votes1
answer354
viewsVuejs Menu Collapse
I have a dynamic menu that comes from a REST API. My problem is: Today when I access some page, all menus come closed. I wanted when I entered for example in a page 3° level, the menu opened…
-
0
votes1
answer50
viewsVue resource installation error in Ubuntu
observe the commands below; root@wlady-VirtualBox:/home/wlady/Documentos/music-db/frondend# yarn add vuex vuex-router-sync vue-router axios animate.css google-material-color material-design-icons…
-
0
votes1
answer288
viewsQuestions about Vue js Pusher
I am following a tutorial that has to type the following command to create a Vue project: It create a folder called music-db, then it type this command being inside the folder; vue init webpack…
-
0
votes0
answers77
viewsHow to Enable Offline Persistence in Firestore with Vue.js
I’m having a problem enabling Firebase’s offline persistence mode. I am using Vue.js with Electron and my Firebase configuration file is as follows: Is returning this error: I hope someone can give…
-
0
votes1
answer61
viewsproblems using Laravel Frameworks
I’m following a video lesson to understand how the vue, but this video lesson is on top of a project PHP, I know little about PHP. I did as the video below; 1 - CRUD en LARAVEL & Vuejs -…
-
0
votes0
answers53
viewsPassing VUE Websockets variables
When I pass a variable this way in Vue, how do I recover it in PHP file? self.ws = new WebSocket('ws://localhost:9000?variavel=22'); $_GET ?
-
0
votes0
answers27
viewsProblem when receiving return array - Laravel / Vue.js
When I run dd($var) #attributes: array:3 [▼ "id" => "1" "department" => "TÉCNOLOGIA DA INFORMAÇÃO" "branch" => "BIGUAÇU" ] Error in Vue.js: app.js:42893 [Vue warn]: Error compiling…
-
0
votes1
answer60
viewsHow to get a file stored with nodejs and multer?
In the API, in Nodejs, which I’m doing, the user sends the image to the API and, using multer, the image is stored. All the tutorials I saw for this situation, the Node is using a Preprocessor like…
-
0
votes0
answers32
viewsVue.js - Drilldown highmaps
Hello, I’m trying to create a Map with Drilldown equal to the link below: https://www.highcharts.com/maps/demo/map-drilldown But in Vue.js, and I didn’t find anything about it for Vue.js, has anyone…
-
0
votes1
answer88
viewsVue Js and Pokeapi
I am currently studying Vuejs, I am using Ajax to request the API, and integrate the application, but I have read in different places about Axios. Why use Axios and not the "$. Ajax"? It’s more…
-
0
votes1
answer22
viewsTest value javascript
I’m trying to return true or false {{ !form.tel_numero.length >= 9 }} Is not working If I don’t use denial it works {{ form.tel_numero.length >= 9 }} but, I need the denial…
-
0
votes0
answers30
viewsComponent - UI for hierarchy
I need to put on a show treeview(but I don’t cling to treeview design) to display a hierarchical structure. I found nothing related to this in vuetify.
-
0
votes1
answer82
viewsrequire em Vue.js Component
Good afternoon I can’t use the "Next" require in the Vue Component file. How to resolve this? the file in question is home.js: const axios = require('axios'); Vue.component('home-page', { template:…
-
0
votes1
answer1436
viewsHow to parameterize a route in the Vue?
I’m using the vue/router to make a spa, and I’m having difficulty sending the id of a particular product by the url... I’m doing so on the link: <router-link…
-
0
votes1
answer34
viewsWebpack is generating the manifest.js files in a different folder
I’m using the webpack as Vue. When giving npm run build, the manifest.js file is created with the /Static/ path, while the other files are created with the Static path/. So if I put the application…
-
0
votes0
answers222
viewsTransfer (paste) files from the clipboard to a file input?
I got the following input archival: <input class="botao" @change="carregarFoto" type="file" name="photo" accept="image/*"> <img :src="foto" style="width:192px;height:108px;" />…
-
0
votes1
answer74
viewsAbout Vue project in a specific folder consuming Laravel data via Restfull API
It is possible to / good practice to create a Vue project in a separate Laravel folder so that all authentication and data consumption is done via Laravel’s Restfull API? /Raiz /Front <- Arquivos…
-
0
votes1
answer509
viewsImport Vuejs template from external html file
Is there any way to import an html file in the template? Vue.component('porcentagens',{ data: function(){ return { porcentagemSangramentoMarginal: 78, porcentagemPlaca: 78, porcentagemOLeary: 78, }…
-
0
votes4
answers916
viewsTake the selected data in a v-select Multiple
I am needing to return in a v-select Multiple only the values selected in an array, I am trying for some time without success, it returns the full object and as I am using in a form I have been…
-
0
votes1
answer656
viewsHow to configure the webpack file in Laravel?
I’m following several tutorials as you can see below; At 9 minutes and 45 seconds of video. Using Vue.js in an Laravel application At 8 minutes and 12 seconds of video. 1 - CRUD en LARAVEL &…
-
0
votes1
answer902
viewsI can’t connect the vuejs in the Laravel
See the page: <!doctype html> <html lang="{{ app()->getLocale() }}"> <head> <meta charset="utf-8"> <meta http-equiv="X-UA-Compatible" content="IE=edge"> <meta…
-
0
votes1
answer53
viewsReturn function value executed by Keyup in the VUE source field
How do I get the return value of this function into the field where you are running Keyup? <input type="text" v-model="valor_calc_dinheiro"…
-
0
votes1
answer1730
viewsHttp Get Request with Axios
I need help making one get for my restAPI passing parameter (I don’t know if that’s what it’s called!). What I do is call a list in http://localhost:6000/API/Stores axios.get('…
-
0
votes1
answer614
viewsHow to set up an Laravel project with Vuejs
Greeting, I am a simple Laravel project and would like to configure my project to accept Vue.js, but I’m getting this error message; "Use of undefined constant titulo - assumed 'titulo' (View:…
-
0
votes2
answers512
viewsModal Assync Vuejs
Tó trying to make a reusable modal vuejs passing an object for editing or registration but I am locked in the way to pass the object asynchronously, since the object I want to pass will be changed…
-
0
votes1
answer51
viewsEloquent Laravel - Migration and Model
Could someone give me an example of how I do a relationship in Migration and model, where this relationship results in a table with external ids. Example : A resale for having no or n addresses, and…
-
0
votes1
answer1966
viewsVue-router <router-view> does not error but does not render
I am learning Vue and came across a problem. I installed the vue-router via npm. When I call the <router-view>, no error is indicated but the site does not render on the page. If I type the…
vue.jsasked 6 years, 11 months ago Lucas Maraal 125 -
0
votes1
answer397
viewsPass array via post in Vue.js
I need to pass one array via POST, I tried it this way: const params = new URLSearchParams(); params.append('pagamentos', this.variavel_array); axios.post('grava_pedido_pdv.php', params); The…
-
0
votes1
answer86
viewsVUE: With recovering an array variable filtering by value
Good afternoon, I need to recover the variable name of this object array, when I filter by id, when I type for example the id 1, return "Solid" full_category_list: [ { id: 1, name: 'Sólido', parent…
-
0
votes1
answer314
viewsMy Laravel project does not see my Javascript file
The structure of my project is like this: The main layout page is this, this is where I get the file Vue, Axios and the app: <!DOCTYPE html> <html lang="pt-br"> <head> <meta…
-
0
votes1
answer559
viewsVue-router: hide components in page change
I am learning vuejs and now I came across a difficulty in hiding components when show the other routes for example: <template> <div id="app"> <ion-icon name="help-circle-outline"…
-
0
votes1
answer475
viewsAutomatic scroll Vue.Js
Clicking on one of the small or large buttons displays the container with the cards (Small Mix and Small Fruit Only). I need the page to scroll down when displaying the footer to cover the cards. I…
-
0
votes2
answers184
viewsExchange object values from the api?
it is possible to change values in the frontend by coming to api? For example, I have an api that returns this: "data":[ "nome": "sp", "nome": "mg", "nome": "rj" ] Then I make a simple request using…
-
0
votes1
answer143
viewsVUE Moment.js does not update the date in real time
I am starting the use of the Moments library of VUE.JS, I have a message area on my site and I need the date to be shown as: "Posted 5 minutes ago", I was able to show the date with the code below,…
-
0
votes1
answer545
viewsHow to fix validation messages?
I am learning to program in Laravel with Vuejs, I am beginner, I started to develop a simple CRUD and managed to implement all the functionality of a CRUD, including field validations, my problem is…
-
0
votes2
answers1762
viewsCatch current date with Vue
I need to take the current date and format it the following type: 17 de December de 2018 I’m using the date within a project in Vue. Only reference I found was this but is in pure javascript.…
-
0
votes1
answer312
viewsDo I need to compile Vue in order to see the style changes I’ve made?
I’m using VUE JS for the first time. I downloaded all the dependencies through npm, including VUE itself. I have the following doubts: In order to view the changes in css I need to build? How to…
vue.jsasked 5 years, 9 months ago João Filipe 123 -
0
votes3
answers169
viewsModal doesn’t close on the Electron, how to fix it?
I have a modal problem. My problem is that the modal, does not close when clicking the button, I tried several ways, but none worked. How can I fix this? <script> var read =…
-
0
votes1
answer136
viewsdisable the white space at the end of the lines (non-space)
I have this mistake in a project Vue js, I know it’s about Eslint I checked the tutorial on the website on how to remove error with command --fix, however it did not take effect, if anyone knows, I…
-
0
votes2
answers230
viewsVuejs "Typeerror: Devices.push is not a Function"
I’m trying to push into an Array, but it’s giving this error: "Typeerror: Devices.push is not a Function" let device = this.$store.getters['bluetooth/Device'].UUID let devices =…
-
0
votes0
answers579
viewsHeroku Server does not recognize my CSS and Javascript files
I recently created a project Laravel that is using Vuejs and Axios, and then sent to the Heroku server, but something strange happened, the page is with very strange visualization and I realized…
-
0
votes0
answers425
views"Uncaught Syntaxerror: Unexpected token <" with vuejs
I am getting this error on multiple files. Uncaught Syntaxerror: Unexpected token < The Debugger says it is . js file, but sends me to html files and shows the error right in the first line of…
-
0
votes3
answers1610
viewsConcatenate single quotes into date variable?
I have an application in Vuejs and need to concatenate simple quotes in a variable that has a date like this 2017-11-09T02:00:00.000Z . I tried it this way and I didn’t succeed: var novaData = "'" +…
-
0
votes1
answer140
viewsCalling VUE function through another Iframe
I made a form where an action is executed in iframe, i need somehow, this file I’m opening in iframe call my function in VUE, I’m posting my code below. new Vue({ el:"#app", data : { teste : '', },…
-
0
votes1
answer86
viewsVue Compile when inserting into the DOM
I need to insert a compiled element into DOM, but it will be inserted in a random place, not in a predefined place as this documentation... var res = Vue.compile('<div><span>{{ msg…