Questions tagged as 'vue.js-2'

1
answer

Component Vue is not pushing on the props

I am creating a simple task list with Vue.js, doing this using separate components in files. One of the components has the function of adding an object to an array, which is a props, but there is the error, the component is not able to identify...
asked by 11.01.2018 / 22:17
0
answers

Nuxt 2 how to serve the assets correctly in Firebase Host

I'm building a new ssr application using Nuxt 2 and Firebase, I'm trying to deploy my application using Firebase Hosting and Cloud Functions just like that
asked by 31.12.2018 / 21:25
1
answer

How to use dynamic key in json multidimensional in v-model in vue.js?

I have a problem selecting the options of a select with the start and end data inside the dynamic keys of the following multidimensional json: rowsels: {"dias":{"seg":{"inicio":"08:00","fim":"18:00"},"ter":{"inicio":"09:00","fim":"15:00"}...
asked by 18.11.2018 / 15:40
1
answer

Update v-for in Vue.js

Hey guys, I have a slight problem here in my Vue.js. I have a variable user.activeItems , in HTML I give a v-for this variable, to show the active items, as follows: <div class="item-container" v-for="(item, index) in user.activeItems...
asked by 28.10.2018 / 20:00
0
answers

change a property of an array of objects without looping

Good morning, I have an array of objects with several properties and one of them is the date property that I would like to convert. But I would like to know if you have any way to do this without using a loop. var arr = [{data: 2018/01/02, nom...
asked by 21.08.2018 / 16:14
0
answers

Error setting coordinates in google maps with vue js

I have a problem with setting the google maps api javascript points. At the time I get the coordinates of the variable, and hedge on my map it restarts the component and erases the value of the variable. how to do it so that it does not restart...
asked by 31.07.2018 / 19:43
1
answer

Problem adding JS file to project with VueJS 2

I have the following problem: When I include a local .js file in my project with VueJS I get the following error message. Herearemystructureandcode: I realized that if you include an external file, via CDN for example, it works perfect...
asked by 23.07.2018 / 00:36
0
answers

Component - UI for Hierarchy

I need to mount a treeview-type view (but I do not cling to the treeview design) to display a hierarchical structure. I did not find anything related to this in vuetify. Someone Do you have any tips?     
asked by 23.07.2018 / 22:13
0
answers

Changes in the input of a form is reflecting in other forms VueJS

In my project vue I have the following problem: I have a form register of categories and another one of register of modules, I opened those of the forms one in each screen and I noticed that when typing the field name in the input of the form...
asked by 22.06.2018 / 07:46
0
answers

Passing Variable to Websockets in VUE.js

I'm starting to use VUE + Websockets, I'm using Ratchet. I need to pass a variable to my server.php file (WS execution file), My front looks like this: var self = this; self.ws = new WebSocket('ws://localhost:9000'); self.ws.onopen = fu...
asked by 12.06.2018 / 05:20