Questions tagged as 'vue.js'

2
answers

Concatenate string with Vue in href

I need to play this URL within href: http://localhost:62828/colecoes/channel.aspx?channelId=30271973&category=4 However, instead of channelId = 30271973 I need to concatenate with {{collection.Id}} Below my href: <h3 class="i...
asked by 23.02.2018 / 04:13
1
answer

VUE: With retrieving a variable from the array by filtering by value

Good afternoon, I need to retrieve the name variable from this array of objects, when I filter by id , when I type for example id 1, return "Solid" full_category_list: [ { id: 1, name: 'Sólido',...
asked by 25.10.2018 / 22:23
2
answers

How to debounce (see only after finishing typing in the input) in VUEJS?

I come from AngularJS and, at certain times, when I need to query according to what the user is searching, I use ng-change , but I combine it with ng-model-options="{debounce: 500}" . This causes the angular queries not to fire off q...
asked by 10.10.2018 / 17:24
1
answer

Test value javascript

I'm trying to return true or false {{ !form.tel_numero.length >= 9 }} Not working If I do not use denial it works {{ form.tel_numero.length >= 9 }} But, I need denial     
asked by 21.07.2018 / 14:54
3
answers

Concatenate single quotation marks in date variable?

I have an application in VueJS and I need to concatenate simple quotes in a variable that has a date like this 2017-11-09T02:00:00.000Z . I tried the following and I did not succeed: var novaData = "'" + data + "'" I tried...
asked by 09.11.2017 / 14:28
1
answer

How to configure the webpack file in Laravel?

I'm following several tutorials as you can see below; At 9 minutes and 45 seconds of video. Using Vue.js in a Laravel application At 8 minutes and 12 seconds of the video. 1 - CRUD at LARAVEL & VUEjs - Webpack, Laravel Mix...
asked by 12.10.2017 / 15:39
1
answer

Difference in whether or not to use the term function

I'm starting the study with Vue.js and I came across a situation within one of the options and I imagine it will serve other options that is the use of the term function, for example: var vm = new Vue({ methods : { /* assim */ en...
asked by 28.09.2017 / 13:54
2
answers

Replicate DIV, change content?

I have a "certain" difficulty. I have a DIV that contains content that looks like a nota fiscal, all that content comes from an API (minus the div of course). However, I need the field DESCRIPTION to have more than 200 characters, it repl...
asked by 14.07.2017 / 19:42
1
answer

About project in Vue in a specific folder consuming Laravel data via RESTfull API

Is it possible / good practice to create a Vue project in a separate Laravel folder so that all authentication and data consumption is done via the RESTfull Laravel API? /Raiz /Front <- Arquivos Vue /Back <- Arquivos Laravel I...
asked by 13.09.2018 / 17:40
1
answer

Get domain via Node / Vue.js

I simply want the domain that appears there in the URL to appear on the page. window.location.hostname gives me this, it just does not work on Node / Vue.js, so what would be the solution?     
asked by 17.08.2018 / 16:26