Questions tagged as 'vue.js'

1
answer

Does not work @click de vue in datatables

I am using datatables server side of Yajra for Laravel and I have the following: var table = $("#dt_user_draw").DataTable({ destroy: true, processing: true, responsive: true, serverSide: true, ordering: false, "ajax": { "meth...
asked by 06.08.2018 / 13:45
1
answer

How can I concatenate strings in a V-bind validation?

I have a validation of Vue.js that makes certain fields mandatory according to the value that has a <el-option> that shows different estados_civiles and I need the fields to be mandatory when the value is different from 'v...
asked by 23.08.2018 / 18:44
0
answers

some FontAwesome icons do not look correctly in nativescript-vue

Hello I am developing a mobile app with nativescript-vue, in this application I use FontAwesome 5.3.1 icons with cheatsheet codes, the problem is that some icons are not rendered as they should be. here I import the styles and fontawesome in...
asked by 23.09.2018 / 04:18
2
answers

How to filter a table with a page?

I have a paged table, I also have a js function to filter data; only that the data is filtered in the current page and not in all the data this is the view: <table class="table table-hover table-striped table-bordered" id="MyTable">...
asked by 02.04.2018 / 17:37
3
answers

I iterate 2 array in a v-for with fields that have a relation

I want to show two arrays in a table veran I have two arrays in the first one I have the products and the second one I have the states of the products and it has a field product_id to which it refers. <table class="...
asked by 30.12.2018 / 02:55
1
answer

VUE Js does not work as a bookstore at DJango

I have an application that I am developing in django and I want to use VUE js as a library but not as a framework, download the library and import it but I do not even work the example of vue Base.html The lbreira de vue is imported here...
asked by 02.10.2018 / 15:14
1
answer

Print Cards with v-for - Vue.js

I am extracting information from axios and I am printing it from my v-for and printing my cards but it does it in a way that I do not understand why. Right now I have my cards. The information is already extracted. I'm supposed to print li...
asked by 30.03.2018 / 10:24
2
answers

Place the gmap-autocomplete component of vue2-google-maps within the map

I'm using the "vue2-google-maps" package in an application developed with Laravel 5.7. In this case I am creating a component with the name google-map . Dendro of this component uses gmap-autocomplete and gmap-map . The component is regi...
asked by 17.12.2018 / 02:50
1
answer

Use data from the Vue instance in the Vue Router template

How to use data from the Vue instance in the templates of Vue Router routes. This is my code HTML <div id="app"> <router-link to="/foo/1">ruta 1</router-link> <router-link to="/foo/2">ruta 2</r...
asked by 19.08.2018 / 04:02
1
answer

Is it possible to do Computed Properties for an array of objects?

Is it possible to do something like this ?, and how would it be done? HTML <div id="example" v-for="item in items"> a={{ item.a }}, b={{ item.b }} </div> JS var vm = new Vue({ el: '#example', data:{items: [ {a: 1...
asked by 28.08.2016 / 15:33