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
answer41
viewsAttribute v-on:click n works when set in vuejs 3
I’m getting a json with a collection of objs, the quantity is dynamic, I’m creating the div element and added a dynamic id to it, my idea was to make div.setAttribute("onclick",…
-
1
votes0
answers47
viewsDynamically generate and read Assets in HTML+Vue.js
I am doing a project in Vue.js, where an audio file is generated. After this audio is generated, I want to be able to run it during the same run. Here is the component that Gara the audio player (is…
-
1
votes2
answers59
viewsHow to reload date after a Vuejs action
My list remains the same after deleting an item, only refreshes when I hit F5 on screen. I’ve tried using componentKey, but it only works when I click 2 clicks. Follow current component code:…
-
1
votes1
answer31
viewsComponent does not update
I’m creating a Plotly Graph Vue component. On initial loading the component is loaded with the correct initial values, but when updated the property of the component, it is not updated. Component:…
-
0
votes0
answers226
viewsProblem compiling Gulp in Laravel 5.3
Error while running Gulp Laravel 5.3, already reinstalled all packages. What to do? Follow the mistake you give me: Vue packages version mismatch: [email protected] [email protected] This…
-
0
votes1
answer211
viewsuse ref in a list without v-for Vue.js
Hello, I have a simple list in which I do not use v-for. I wonder if it is possible to identify the list item through the #ref in Vue.js; I usually identify my components with name and Id, but I am…
vue.jsasked 7 years, 10 months ago Elisangela Carla DE Souza 318 -
0
votes1
answer69
viewsCan anyone help me fix this Javascript?
The following error is being presented: Uncaught Syntaxerror: Unexpected Identifier on line 12. I would like someone to help me correct this mistake. The JS is as follows:…
-
0
votes2
answers399
viewsVue-Resource $http.get does not recognize json with [
I have a php that delivers the following content [{"Id":"50630","Operador":"","Id_cadastro":"61693"}] Vue-Resource only recognizes if I remove the [] my code is…
-
0
votes1
answer411
viewsCan I pass the http method via the Vue-Resource parameter?
I am using vuejs and am making the ajax requests via Vue-Resources. With Vue-Resources it is possible to make requests like this: this.$http.get('/someUrl').then(response => { // get body data…
vue.jsasked 7 years, 5 months ago Gilderlan Braz 1 -
0
votes1
answer45
viewsStatic element with vuerouter
I have an application that uses Vue-router, but it also has the need to login, and with this login comes the change in the header, where will be login and register, or panel, but in specific cases.…
-
0
votes1
answer375
viewsneed help with this error: Uncaught Typeerror: Cannot read Property 'push' of null Vue.methods.addPedido (Anonymous Function)
Problem When will I call the function addPedido with the v-on:click="addPedido" Vue.js error Uncaught Typeerror: Cannot read Property 'push' of null and presented could not identify the urgent need…
-
0
votes2
answers115
viewsCreate component via Vue.js
Is there any component via Vue js that makes me create this component that shows in the image below I’m developing my site in PHP.…
-
0
votes1
answer83
viewsValue adjustment bar
People would like to know if there is any component ready on the internet that makes me an element similar to that of the image below I would like to know what the name of this component also so I…
-
0
votes1
answer852
viewsVUE JS Consuming API and using V-FOR with 2 tables
I have 2 tables Table 1 [ {"Id": "1", "nome": "João"}, {"Id": "2", "nome": "Manoel"} ] Table 2 [ {"Estudante": "1", "nota": "5", "avaliação": "1"}, {"Estudante": "1", "nota": "6", "avaliação": "2"},…
vue.jsasked 7 years, 9 months ago Nixon Girard 55 -
0
votes1
answer68
viewsHow to send sub-Components data with Vuejs 2?
How can I get all the items marked from one Component in another instance by having the following tree structure? window.Event = new Vue(); Vue.component('tree', { props: { model: { type: Array,…
-
0
votes1
answer1120
viewsHow to filter one array by another?
I’m trying to use the filter with Vue, but I’m having trouble. Code: list() { var self=this const list = this.programas; if (_.isEmpty(this.filter)) { return list; } return…
vue.jsasked 7 years, 8 months ago Elisangela Carla DE Souza 318 -
0
votes1
answer59
viewsvuejs vuex firebase
with a problem to mount my next firebase reference export default { firebase () { return { gastos: db.ref(`user/${this.uid}/shop/`), } }, computed: { uid () { return this.$store.getters.getUser.uid…
-
0
votes1
answer67
viewsHow to import a package that has a score in the name in Vuejs
I need to import a package in Vuejs, whose name is 'Vue-Charts.js', and Vue is accusing error that cannot find the specified file. I tried renaming the package directory but could not. If someone…
-
0
votes1
answer154
viewsConvert Response date from HTML to PDF
My response.data is returned a billet in HTML format, I want to convert it to PDF. How do I? Below a part of the code: imprimirboleto: function () { axios({ method: 'get', url: '/server/boleto',…
-
0
votes0
answers360
viewsHow to use Addeventlistener() in vueJs
I’m doing a function of my project and need to use the event addEventListener() but you’re making a mistake: excluirVariante:function(v){ console.log(this.$el.querySelector('#op_nao'));…
-
0
votes1
answer644
viewsHow to pass an object between independent components
I have a problem, I need to pass an object between two independent components but I’m not succeeding, I tried with $broadcast but without success, follow my components to get ideas of the structure.…
-
0
votes2
answers206
viewsDifficulty accessing json
I have the following json: { "destination_addresses": [ "Rua B, 1 - Coqueiro,Belém - PA, 66670-350, Belém - PA, 66670-350, Brasil" ], "origin_addresses": [ "Pref. José Walter, Fortaleza - CE,…
-
0
votes1
answer246
viewsUsing multiple js Vue files in Laravel
Guys I am using Laravel v5.5 to start a personal project and I will use Vue.js, I did not find a very didactic content on the internet, as I do to use other files . js?? for example: /js/login.js…
-
0
votes1
answer58
viewsDifference in whether or not to use the term Function
I’m starting the study with Vue.js and I came across a situation within one of the options and I imagine it serves other options that is the use of the term Function, for example: var vm = new Vue({…
-
0
votes1
answer288
viewsApi receiving date with changed month and day
I have a class: public class Filtros{ public DateTime DataInicial { get; set; } public DateTime DataFinal { get; set; } //outros campos... } I have a C# API that takes the class:…
-
0
votes2
answers128
viewsLaravel directing HTTP method to wrong function in Controller
I have a project in Laravel and Vue.js where I have a role in Vue.js that sends a post with the data of a form, so far so good, only when the function this.$http.post() makes the request for the…
-
0
votes1
answer169
viewsThe project does not recognize the Vue.js v-layout directive
Greeting to all, The opportunity to work as a Frond-End programmer came along, and the team I’m working with said they had to work with Vue.js, It’s a new technology that just appeared. I am…
-
0
votes0
answers214
viewsfailed to mount Component: template or render Function not defined with Vue.js
OBS:Please do not notify me negatively for this post, because it has similarity to another recent post, this is a specific problem. Click on my Video I’m trying to refactor my layout using vue.js, I…
-
0
votes2
answers60
viewsReplicate DIV, alter content?
I’m having a "certain" difficulty. I have a DIV that contains content that resembles a bill, all this content comes from an API (minus the div of course). However, I need you in the field…
-
0
votes1
answer1042
viewsTransforming string in time in Javascript
I am developing an application in Vuejs and on a screen I have two input’s of hour and are being saved in Mongodb as String. However the input only accepts in the time format and when I click on the…
-
0
votes1
answer201
viewsWorking with checkbox array
Well, here’s the thing, I’m looking to edit a record that contains only a name and an array of other records, ifs (a relationship 1 to N). This array of ifs I play in the view as checkboxs, but I’m…
-
0
votes0
answers29
viewsError with when trying to enter information with routes
In api.php have that code: Route::group(['middleware' => 'api'], function() { Route::post('clube/addClube', function(Request $request) { return App\clubes::addClube(['name' => $request ->…
-
0
votes1
answer406
viewsHow to make the Laravel project see the Xios file?
Before I was having trouble getting the project to see the Vue file as you can see in this post: I need to make my Javascript file see the Vue and Axios files He was like this : And now it’s like…
-
0
votes0
answers323
viewsget in the way of the briefcase
I need to record the path of a directory on the system, when the user clicks on a button open a window and in that window he selects the folder he wants to store the information. I tried using input…
-
0
votes1
answer106
viewsRun a PHP function as an html attribute?
What I need is this, I have this html code: <div php-if="{{valor}}>0">CONTEUDO QUE SERÁ MOSTRADO DINAMICAMENTE</div> The variable "{{value}}" I can already return dynamically. What I…
-
0
votes0
answers317
viewsYou may have an Infinite update loop in a Component render Function
This code is a list of links that is used within a dropdown menu. I started getting this message after I decided to set a pattern of colors and fonts for my site and decided to make changes to the…
vue.jsasked 7 years, 1 month ago Ian Cléver Sales Fernandes 1 -
0
votes1
answer320
viewsXmlhttprequest cannot load no Vue js
My app.See <template> <div id="app"> <h1>{{ titulo }}</h1> <li v-for="usuario of usuarios"> </li> </div> </template> <script> export default {…
-
0
votes1
answer1784
viewsHow to give a "Refresh" on the page in Vue
I’m having a hard time and I haven’t found anything about it. I have the following scenario. On the page HOME I call a API by clicking a button, and then I call the page SCHEDULING passing the…
-
0
votes0
answers91
viewsVuejs using father’s name tag on children
Follow an example input: <input name="TESTE" id="TESTE" placeholder="TESTE"> There’s a way I can do something like this so I don’t repeat the same name over and over again? Like this below:…
-
0
votes2
answers482
viewsStyle inside Vue.Component
The question is quite simple: I can insert CSS/SCSS style inside a Vue.(), to stay within the scope of the component? Something like const Color = Vue.component('Color', { props: ['row'], template:…
-
0
votes1
answer257
viewsRoute Error in Vue js
My App.Vue <template> <div id="app"> <router-view></router-view> </div> </template> <script> export default { name: 'app', data () { return { } } }…
-
0
votes1
answer1659
viewsMake include css and js files with vuejs
I’m studying the implementation of Windows and vuejs and using as template the admin Lte. My question is: no index.html vuejs, I put all the base css and js files. But when the page requires a…
vue.jsasked 6 years, 8 months ago Felipe Paz 358 -
0
votes2
answers1925
viewsConcatenate string with Vue in href
I need to play this URL inside href: http://localhost:62828/colecoes/channel.aspx?channelId=30271973&category=4 But instead of channelId=30271973 I need to concatenate with {{collection. Id}}…
-
0
votes1
answer89
viewsIs it possible to connect my Laravel app with Vue or Angular?
I started a project that will have an application in the future Vue or Angular. My question is whether it is possible to make this link between the system and the application and whether this "link"…
-
0
votes2
answers102
viewsError creating global Filters with vuejs
I am trying to create some filters globally in vuejs but am getting error "Failed to resolve filter". My main.js is like this import Vue from 'vue'; import VueResource from 'vue-resource';…
-
0
votes1
answer370
viewsVuejs/Quasar Ordova android generates blank app
Hello, I started using Quasar Framework to create a hybrid app for Android. After following the installation steps (WINDOWS 10), I created a standard project, IE, I haven’t developed anything yet, I…
-
0
votes1
answer126
viewsClear history of`-router`when loading main menu
In a PWA I’m using Vuejs and I’m having problems with the back button of the smartphone, because when I use it the PWA does what is most logical and back to the previous screen. But I just log in to…
-
0
votes1
answer253
viewsChange card component image
I’m using the Vue card component, with a Static image, inside a v-navigation-Drawer. <v-card-media height="80" src="/static/img/logo.png"></v-card-media> How do I change the image…
-
0
votes1
answer164
viewsJson problems with Vue.js
note below; My page <!DOCTYPE html> <html> <head> <title>My books</title> <link rel="stylesheet" type="text/css"…
-
0
votes1
answer428
viewsStart Vue Project from existing template
It is possible to start a project Vue from an existing template? I want to create a template with all the necessary dependencies and initial settings (as well as pages and etc), so that always, when…