Questions tagged as 'vue.js'

2
answers

Differences between computed properties and methods in VueJS

Within VueJS we have two options to manipulate the data that are within the reach of our instance of VueJS : Computed properties Methods (functions in the way we already know them) METHODS EXAMPLE let app = new Vue({ el:...
asked by 07.10.2018 / 14:01
2
answers

error showing options of a select in laravel and vue js

does not show anything in the option but in the console if I can see the data new Vue({ el: '#aplicacion', data: { departamento:'', municipios:[], }, methods: { greet: function (event) {...
asked by 20.05.2018 / 01:11
3
answers

delete duplicate elements javascript fix with vue js

I have the following data in json that is stored in my data vue js proveedoresSeleccionados: [{id: 1, texto: "ORSIS S.A.C", check: false }, {id: 2, texto: "ABS S.A.C",check: false }, {id: 2,...
asked by 23.05.2018 / 01:43
1
answer

protect my routes - print my Json

I am trying to avoid printing my Json format directly (or I do not know if there is any other way) What happens is that when I access my route in this way http://blissre.test/projects/ I upload my projects So far so good, when l...
asked by 31.03.2018 / 00:37
1
answer

By clicking on the user, show their data VUE.js

I am trying to learn and make a very simple agenda in VUE.js. I was able to list the users by traversing them with Axios. What I would like to implement now, is to click on a user, in the middle column (More info) bring me your email, phone, add...
asked by 14.11.2018 / 13:17
1
answer

How to show data with Vue-resource in Tabla Boostrap Vue?

I want to show only some data of the following json: link In a Boostrap-Vue table it is assumed that I have to export the data but it is not displayed. My code is as follows and I just want to show certain information such as first and l...
asked by 31.01.2018 / 22:44
1
answer

Search Filter in vuejs

When I use the search engine, I do not take into account the first letter unless I capitalize it, I'm using vue.js, vue-cli webpack With the following code I make the search work: computed: { filteredPacks: function(){ return th...
asked by 20.10.2017 / 18:26
2
answers

Vue 2 + Laravel 5.3

I have a form with a name field and a select for provinces . The point is that I enter a name, and when I select a province, I delete what I wrote in the name. And searching and testing I get to give that if I delete the v-model...
asked by 10.01.2017 / 22:00
1
answer

Dynamic input with the v-model directive in vue.js

I have a query v-for which brings me matches of n day. For each game I have two input where the user will mark the result, I need the v-model of said input to be dynamic. HTML <template> <div class="...
asked by 03.04.2017 / 17:33
1
answer

Use component for all views

I have a problem, I'm using vue-router and I need my <top-bar/> always to be shown in all the views that go on the router, try to use: <div class="container"> <router-view name="topbar"> <top-bar/&...
asked by 22.12.2018 / 00:59