Questions tagged as 'vue.js'

3
answers

Bin a data inside an image.onload in Vue JS

I receive a URL of an image from a database. What I'm looking for is to get the width and height of the image to form a carousel. To do so, I instantiate an image object inside a for loop, but I can not obtain the dimensions because it is not ye...
asked by 03.10.2017 / 11:55
1
answer

How can I pass a parameter from an API query to vue-head?

I'm passing the value of a query using the vue-head for the browser title but when I pass the data does not pass any data in the header just send me a message like "undefined" at the top of the browser, this is the code: export default...
asked by 23.10.2017 / 22:06
1
answer

Select only one Item from a list of child components in Vue.js 2

My question is as follows. I have a list of folders which, when you click on one of them, will light up and show your information. All right up to here, now the problem is that when selecting another folder, the previous one will continue...
asked by 08.04.2017 / 22:33
1
answer

how to include jquery in webpack?

I do not know how to do it and I already followed several explanations that I found on the web and none of them work for me. I'm using vue-cli that works with webpack . try this: plugins:[ new webpack.ProvidePlugin({ jQue...
asked by 28.03.2017 / 18:36
1
answer

Python tuples in JavaScript

I have a tuple (or a list) in Python, which works to fill a <select> control in the Django templates. The tuple looks like this in Python: DOCUMENTO_GENERICO = ( (0, 'FUAR y/o Sol. Ind.'), (1, 'Testimonial'), (2, 'I...
asked by 04.04.2017 / 02:03
2
answers

Use v-for in Sub Object Vuejs

How could an element of this array of objects be displayed? export default { name: 'app', data () { return { items: [ { message: 'Foo', submenus: [ {...
asked by 18.02.2017 / 04:48
3
answers

Vue 2 cycle does not work in component

The idea is to go through the collection of messages ( messages ) obtained from the backend through AJAX and display them in the HTML, for this use v-for . Apparently the parameters returned by data are not receiving the template....
asked by 08.02.2017 / 22:01
1
answer

Vuejs + Laravel answer system

I have a problem wanting to update the answers to a question that was asked, the detail is that when answering the question this answer is not updated in the answer list that is in the question. I leave the code to be checked and they tell me...
asked by 28.04.2017 / 17:24
2
answers

How to make Template with Vue.js

I can not do this example on my local PC Example Template , if I want to create a template in a separate file where I can call it and use it in any part of my html, in order to simplify code, but I can not do it because I can not identify if I'...
asked by 03.12.2016 / 23:06
0
answers

Problems with Springboot, vue and heroku

Hello, create a Springboot project in STS and within a folder called frontend that contains the part with vue I was able to host my CRUD project in heroku, but with some problems: 1) so that the page runs, I had to pass the generated...
asked by 02.01.2019 / 19:31