Questions tagged as 'vuex'

2
answers

Get the value of a promise

I'm having a lot of trouble getting the value of a promise . Basically I want the value that returns a promise to be assigned to a variable. For example    This example uses the following elements: vue. js , vuex , almacen is a syno...
asked by 27.03.2017 / 04:06
1
answer

Update user profile Vue-Laravel

I have to do the view to update user profile in Vuejs, the view is currently done in blade and it works fine, but I have to pass everything to Vuejs. From the sidebar.blade.php I pass the user to the Vue component named Profile.vue <pro...
asked by 12.04.2018 / 21:17
1
answer

How can I print with a list from 2018 to 1920?

I try to print a list with v-for that does the same thing as a for cycle like this for(n=2018; n>=1920; n--) This prints a list from 2018 to 1920 The way I have it now is v-for="n in 2018)" v-if='n >= 120' But obviously the li...
asked by 10.10.2018 / 19:28
1
answer

Firebase Hosting with Vue.js

I have a problem with Firebase Hosting when uploading my Vue.js project that connects with firebase The architecture of the files is as follows. and the file firebase.json is the following or in code { "hosting": {...
asked by 12.09.2018 / 02:41
2
answers

How to focus focus with a vue js element?

I have a select with vue js defined: dacademics:[ {text:'Persona Natural',value:'PN'}, {text:'Bachiller',value:'Bach'}, {text:'Profesional',value:'Prof'}, {text:'Técnico Especializado',value:'TE'...
asked by 11.04.2018 / 16:00
2
answers

Go through an object with Vue2.js

My question is how do I access the parish array ... try the HTML to do: {{@beneficiario.parroquia.parroquia}} y and gives this error:    Error in render: "TypeError: Can not read property 'parish' of undefined" HTML        ...
asked by 19.01.2018 / 21:31
0
answers

How to make a confirmation dialog with vue js?

I have a module to add contracts in vue: createContrato: function(){ //aca deberia mostrar el dialogo de confirmacion antes de agregar el contrato this.newContrato.CONT_datFin=document.getElementById('CONT_datFin').valu...
asked by 13.04.2018 / 14:53
2
answers

How to delete data from a vue array and a table in html?

I have an arrangement defined in vue productos:[] I add elements with this function: (vue code) var appmeta = new Vue({ // el: '#v_meta', created: function(){ this.getMetas(); }, data:...
asked by 10.04.2018 / 17:54
1
answer

Promise in a vuex action does not work when trying to handle the http request error

Hello, I am developing an application in Vue.js, Nativescript and Vuex , when making an ajax request in an action return a promise to handle asynchrony the problem is that when an error is generated this It is not captured at the moment of call...
asked by 17.09.2018 / 20:55
2
answers

Obtain data from a controller in Laravel in Vue Js and interact with them.

I'm trying to bring data from a Laravel driver to Vue JS. data() { return { article: undefined } }, created() { this.$http.get('article/' + this.$route.params.id + '/edit?include=category,tags') .then((r...
asked by 15.05.2018 / 09:33