Questions tagged as 'vue.js'

0
answers

PWA - with Vue and Vuex

I'm having a problem rendering the list in real time on smartphones, I get Vuex with computed: produtosFiltrados() { return store.state.listaProdutos.filter((produto) => { let query = produto.nome.toUpperCase(); return query.ma...
asked by 23.12.2018 / 14:56
1
answer

VUE Moment.js does not update the date in real time

I'm starting to use the Moments library of VUE.JS, I have a message area on my website and I need the date to be shown as: "Posted 5 minutes ago", I was able to show the date with the code below, but I noticed that the same only refresh refreshe...
asked by 07.12.2018 / 12:12
1
answer

Execute function when closing modal in Vue

I'm using Bootstrap 4 in a project with Vue; In the modal, I have a video in a youtube iframe; What I need to do, is to pause this video, when I close the modal, either by pressing the esc key, or closing the modal x or clicking outside th...
asked by 20.11.2018 / 20:47
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
0
answers

Structuring Vue Components in Laravel

Hello, I'm a beginner with VueJs and I'm trying to implement it in a 5.7oz Laravel project. I currently have a few components and I'm about to create a bit more and I see that everything is "messed up" there in the components folder and the...
asked by 21.11.2018 / 17:40
0
answers

Vue in conflict with Bootstrap?

I'm implementing Vuejs in a Laravel5.7 mine and I noticed that this is apparently a conflict with almost all my nav-tabs, because when I change tabs in nav-tabs, regardless of how many tabs there are, it will not class "show" of the tabs that I'...
asked by 22.11.2018 / 17:19
0
answers

Pagination with Vue.Js

I created a paging component and took the items sent by the server that are already paged in 5 per page. The next button works correctly bringing all the pages, but the pagination only stays from 1 to 5 being that the go to page 6 for example wa...
asked by 08.11.2018 / 04:21
1
answer

Error creating graph with API data - Axios / Vue

Hello, I'm building a graph that collects meteorological data from the city of Curitiba through an API retrieve, but nothing is collected and so the graph is not created, I'm using vue / axes for this system. > I would like a light on this pro...
asked by 27.11.2018 / 17:25
1
answer

Vue-router: hiding components in page exchange

I'm learning vues and now I've come across a difficulty in hiding components when showing the other routes for example: <template> <div id="app"> <ion-icon name="help-circle-outline" class="help"></ion-icon>...
asked by 30.10.2018 / 21:38
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