Questions tagged as 'vue.js'

1
answer

My props with vue.js pass me the value as undefined

I'm using vue.js to make a query with a value from a view but when I pass the value of the props I get the impression of the console as "undefined" because of that I can not make any query for the undefined value you send this is the code I am...
asked by 28.10.2017 / 19:47
1
answer

Access element list VUE JS

<div id="names"> <div class="row"> <div v-for="i in list2" v-on:click="details('...')" data-toggle='modal' data-target='#myModal' class='col-md-4 text-center'> <img src='images/st1.png' class='img-fluid'>...
asked by 26.10.2017 / 16:24
1
answer

You can search in a text field in the root node and update two components

I have created a root node with two components, in the rais node I have a text field to search, which is sent to each component to search in an array of links (links) and with the result render each component. Additionally to each component I se...
asked by 08.08.2017 / 16:46
0
answers

Import components Vue.js

I am working on a project in .NET with MVC and Vue .js, when I want to use the components I have to declare them in the following way: import Vue from 'vue'; import example from './components/example.vue' import hello from './components/hello...
asked by 23.08.2017 / 17:36
1
answer

I can not display imagene with vue using axios

Hello, I am using vue with axios to request information from an API and it works with the data as name, date but when I want to use it with a img src="" it does not work: html: <div class="container" id="app"> <...
asked by 26.05.2017 / 17:38
0
answers

when creating a file with rails and webpack generates an error when inserting

create a file with rails and webpack: rails new myapp --webpack=vue and create a folder inside rails: app/javascript └── packs ├── app.vue └── hello_vue.js app.vue: <template> <div id="app"> <ul v-for="re...
asked by 25.05.2017 / 22:19
1
answer

Unable to render a component in VueJS

I have the following component in VueJS, which I declare before the instance of Vue Vue.component('list', { template: ' <div> <ul> <li v-for="dato in datos">...
asked by 29.12.2018 / 04:11
1
answer

How to empty the values of the attributes of an object in VUEJS2?

In vuejs2 I have a variable datos which is an object that already has some properties set and that are initially empty. I'm doing a series of validations that are very repetitive, an example of this is to send a request, if it br...
asked by 12.12.2018 / 19:09
1
answer

Why does v-model not update the variable?

With the following code I can make request.limits update with the input text , however when I make the request $.http , the value assigned by default is sent. How do I send the updated request.limits with the value o...
asked by 09.01.2018 / 19:55
1
answer

Vue does not show the data in the view

I have a small api made in Laravel, it is working without problems and all the tests in Postman are successful, the problem is when I try to show the data by the Vue view, it simply does not show me anything, not even errors This is the code...
asked by 03.05.2018 / 23:11