Questions tagged as 'vue.js'

1
answer

VueJs component template v-bind class as parameter

I have a very rare situation, where the documentation that mentions the error: link I'm not being useful or I'm not understanding how it's supposed to be. Without more details to add for now, let's go to the code: Component: Vue.comp...
asked by 03.01.2019 / 22:34
1
answer

Vue data iteration

I'm iterating some data with a computed property in a v-for use axios to obtain data from an external api you will see the code <table class="table"> <thead>...
asked by 31.12.2018 / 01:31
2
answers

Go through JSON sub node in vueJs

"bloques": [ { "id": 1, "banner": "Banner_Doble_Megas_terminales2.jpg", "titulo": "Blindaje", "activo": 1, "contenidos": [ { "id": 1, "subseccion": 0, "icon": "fa fa-copy",...
asked by 11.12.2018 / 22:22
1
answer

Parent component does not detect event triggered by child

I have a component that is a table and I have a search button with the next event. Component datatables: <input type="text" class="form-control" @keyup="$emit('filterSearch')" v-model="search"> and in component B I import this comp...
asked by 22.08.2018 / 15:14
1
answer

How to put momentsjs in a VueJS application

I want to put the momentJS library in my Vue application, and that the full functionality of moment is available in any component of my app.     
asked by 27.07.2018 / 08:00
1
answer

Read reply json at Axios Laravel Vue

I have a method that captures the information sent by the vue view (Profile.vue) through a PUT generated by Axios, the problem lies in the following, when the data is updated (using the myProfile method of the UserController driver), axios it ca...
asked by 14.04.2018 / 18:46
1
answer

I can not save values via POST - laravel vue

I'm trying to save the data I send from the Event view. I went to the storeEvent method of the EventController driver but it gives me error 422 and I can not find the problem so far. The Event model has a many-to-many relationship with the Ca...
asked by 25.04.2018 / 18:06
2
answers

how to remove an element from an array vue js

I have an array in the following way. [ "icono-5-4", "icono-7-6", "icono-8-7", "icono-9-8", "icono-1-0", "icono-2-1" ] I want to reactively remove an element: Know the name of the item until the user clicks on a button. Example, if the clie...
asked by 29.11.2018 / 20:30
1
answer

Bubble sorting in vue.js

good is starting with a small exercise and I decided to make a bubble order with objects and my code is the code is here, but I want to order but I do not know how to help! var app = new Vue ({ el: '.contenedor', data:{...
asked by 17.09.2018 / 23:53
1
answer

How to make a computed property with an axios call return a value

I have a property computed in the following way: private get ChangeGroup(): IResults[] { Axios.get(process.env.VUE_APP_BASE_URI + 'results?GroupNumber=' + this.selected, {withCredentials: true}) .then(data => { this....
asked by 29.06.2018 / 18:56