Questions tagged as 'vue.js'

2
answers

How to delete data from a vue array and a table in html?

I have an arrangement defined in vue productos:[] I add elements with this function: (vue code) var appmeta = new Vue({ // el: '#v_meta', created: function(){ this.getMetas(); }, data:...
asked by 10.04.2018 / 15:54
2
answers

how can i pass json to html

Hello, I'm starting in the world of vuejs I'm consuming a detail field where I have HTML code: <p>alhdlkfjaldkfkaldjflkasdfkladsf</p> <p>asdfaslfdjaslñfjalñsdfjlkñasjfdklajsdfasf</p> <p>adsfadsf</p> How d...
asked by 03.03.2018 / 05:20
2
answers

Use axios globally with the CLI of vue

I am testing with a Vue application and the CLI. I've been using vue-resource and I was able to access it on all my components by simply passing it to Vue.use (VueResource). How can I achieve this with axios, and not have to import it into each...
asked by 06.02.2018 / 19:26
2
answers

Do not set the value of an input with VueJs

I have an input text with typeahead that I use to search for a user This I do through a component of vue, the template is: <template> <div> <label for="">Buscar Usuario</label> <input typ...
asked by 07.11.2017 / 20:47
1
answer

Middleware Laravel and Vue js

I integrated Laravel and Vue everything that is in vue js begins with the route link the / # / is added, I am having problems so that I can recognize laravel middleware in vue, I use: Route::group(['middleware'=>'auth'], function () {...
asked by 04.04.2017 / 15:02
2
answers

How to call a function from one component to another in vue.js

What I try to do is that when the onUpdate function is executed in component 2, the sort function is executed in component 1. COMPONENT 1 var container = new Vue({ el: "#main", data: { list:[{name:"John"},...
asked by 05.01.2019 / 18:56
1
answer

How to make smooth transitions with vue js

I try to make transitions between components in vue js what I try is to make a type of slider with a form, each side is a component and pressing continue changes the component to the right and if they press backward it goes to the left. are t...
asked by 11.10.2018 / 14:56
1
answer

I want to associate a computed properties to a vector but it returns the length not the vector

<template> <section> <div> {{vectorAdd}} </div> </section> </template> <script> export default { data(){ return { vector:[]...
asked by 12.10.2018 / 16:26
1
answer

Error when displaying Firebase + Vuejs + ElectronJs data

I can not see data with electronJs and Vuejs from Firebase. let usuarios = mdb.ref("usuarios"); var vm = this; var user = firebase.auth().currentUser; var userid = ""; firebase.auth().onAuthStateChanged(function (user) { if (user) {...
asked by 01.10.2018 / 23:21
1
answer

Pass the Header to Dropzone - laravel

Hi, I have a question about how to pass the Token to my Dropzone. I usually did it from a laravel view. Adding Js. in herself. And there was no problem. var myDropZone = new Dropzone('.dropzone',{ url: '/admin/posts/{{$post->...
asked by 25.09.2018 / 08:44