Questions tagged as 'vuex'

0
answers

Property or method "foo" is not defined on the instance but referenced during render

I'm new to Vue, I'm just trying to understand how component inclusions work correctly in this framework. I am having the following error after executing the code shown below:    "Property or method" icons "is not defined on the instance but  ...
asked by 30.12.2018 / 17:48
0
answers

vue-reCAPTCHA does not work

Hello, I'm using the vue-reCAPTCHA package to insert one. This capcha is a sub component so for use within the sub component I do the following. This is the script: import VueRecaptcha from 'vue-recaptcha'; export default { components:...
asked by 28.11.2018 / 21:16
0
answers

error getting getter from an action of another vuex module Can not read property 'rootGetters' of undefined

When executing an action I get an error, in which I access getter that is in another module:    [TypeError: Can not read property 'rootGetters' of undefined] For example, this action works and it calls the getter of the other module:...
asked by 26.10.2018 / 20:24
0
answers

event v-on: click in vuex

Hi, I'm working on a project where I need to click through from one chart to another, so I click anywhere in chart and I need this to stop showing and show me the second chart from a component of vuex . <template&...
asked by 11.08.2018 / 14:57
0
answers

TypeError: Can not read property 'getters' of undefined

I'm using vue and vuex and I'm getting the error Can not read property 'getters' of undefined. Snacbar.js file // tipos de mutaciones import { SET_SNACKBAR, SET_Y, SET_X, SET_MODE, SET_COLOR, SET_TIMEOUT, SET_TEXT } from './mu...
asked by 20.06.2018 / 05:12
1
answer

How to group elements by months in vue

I have a set of data similar to this: [{fecha: '01/06/2018', pago: '30', id: '-LDviH9T9XripkL64-8y'}, {fecha: '02/06/2018', pago: '20', id: '-LDviH9T93spkL64-8y'}]. How could I group the elements by months and add the totals? For example:...
asked by 05.06.2018 / 22:07
0
answers

Vue JS - Modal form where to pass an image to show it

Use Vue2JS and Vue Material and what I try to do is on a grid to place a button for each row to open a modal and display a picture. For each row I have the image content of the item "item" code I have is this, open the modal but does not show...
asked by 18.05.2018 / 07:06
0
answers

How to open a modal within a component (vue js)?

I have a component defined in vuejs . Vue.component('persona-component',require('./components/personas/personaComponent.vue')); Defined as follows: <template> <div class="container"> <div class="container-fluid...
asked by 10.05.2018 / 14:51
1
answer

Problem bringing Vuex data

Hello friends I have a problem with vuex .. the goal is to load and paint the data of some companies that come for an API And when I clicked, I went to another page and the information could be edited in a form, all built in vuex as well. - The...
asked by 19.04.2018 / 14:12
0
answers

Problem updating Vuex status

Hi, I have the following problem, I am updating the state from one component and showing the contents of this variable in another, in the component that executes the commit the status changes but in the component that shows the information is no...
asked by 05.11.2017 / 17:38