Questions tagged as 'vue.js'

1
answer

vuejs v-for does not respect me col- de boostrap

I'm new in vuejs and I had the following problem when rendering an object with the v-for method the content does not respect the max-width of css or the boostrap col ... any ideas? <div class="pre-scrollable" style="height:120px;" >...
asked by 25.07.2018 / 19:22
1
answer

Update component in Vuejs

I am having a problem, I have developed an app where you have a login. Once logged in, it takes you to the user profile, but always the information of the previous user appears, only updated when I change the script and then automatically refres...
asked by 25.07.2018 / 16:13
1
answer

How to format simple date in vuejs2 with a filter?

I receive a json query object to an api, but the format I get is the following 2018-07-03T05:47:00.000Z although I need to simply show this 2018-07-03     
asked by 03.07.2018 / 07:26
0
answers

Vuejs and amcharts

I'm doing some graphics with amcharts and Vue (to do the ajax query) I would like to have vue in its method of created place the code of amcharts and that axios can assign the data to the dataProvider I leave an example of my code to see if they...
asked by 04.07.2018 / 13:11
1
answer

load vue component in modal bootstrap

Hello I have a component in vue I am using rails 5, turbolink 5 and webpack. If the component is placed directly on the page where the renderer makes a path, for example new.html.erb, the component loads But if I want to show that component i...
asked by 23.06.2018 / 02:54
0
answers

Obtain errors from controller via ajax and interpret them with axios and vue js

I am putting together an application which I work with laravel, for the use of java script use vue js and for sending data I use axios. My problem is when I try to apply the rules of laravel, although the message returns to me, trying to pass...
asked by 19.06.2018 / 06:53
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
0
answers

Trigger in vue js and laravel

I'm doing a section to edit the selection of municipality and city I select them with this function: $("#departamento").val('{{$usuario->fk_id_departamento}}').trigger("change"); which works but when I change the function I use with V...
asked by 11.06.2018 / 15:19
0
answers

Validation clash VeeValidate

I need to be able to write letters, spaces and numbers in the same input , using VeeValidate to validate, only take into account one of the two validations, that is, I apply the validations alpha_spaces and alpha_num but only...
asked by 10.06.2018 / 23:36
1
answer

Problem with component rendering in vue.js and axios

I have the following code: The server replies: <h1>Hola !!!</h1> <br> <p>Bienvenido a Vue.js</p> When it runs in the browser, the following happens: How can I do it to show me this way an...
asked by 09.06.2018 / 15:27