Skip to main content
Filter by
Sorted by
Tagged with
4 votes
1 answer
3k views

I have a Simple Todo App, that doesn't persist the update of multiple records at once. The client version works properly here: http://codepen.io/anon/pen/bVVpyN Everytime I make an action, I fire a ...
LoveAndHappiness's user avatar
1 vote
0 answers
699 views

This is the code I have on my site: http://jsfiddle.net/aLxfnj97/1/ It works great even in IE9 through JSFiddle, but when I compile it with Webpack, my code will ONLY use the default values.. they ...
HaleyBuggs's user avatar
1 vote
1 answer
698 views

I get this warning: Unexpected assignment expression. return task.completed = true; // Line 63, Pos 39 When using this code: completeAll: function () { this.tasks = this.tasks.filter(function (...
LoveAndHappiness's user avatar
4 votes
1 answer
18k views

So I have an object like so: this.$ - this holds indexes that hold arrays. For instance, it has two different indexes: one called slide and one called thumb. Those indexes hold arrays. I'm developing ...
HaleyBuggs's user avatar
7 votes
4 answers
19k views

I am trying to use the the debounce filter as per the Vue.js docs so I can prevent firing an Ajax function while the user is typing into an input. In the past, I have used setTimeout to manually ...
Douglas.Sesar's user avatar
-1 votes
1 answer
945 views

I would like to find out how to connect a database (e.g. Mongodb or MySql) to mithril js or vue js. Any useful link or tutorials? Thanks
Sandro Palmieri's user avatar
0 votes
1 answer
83 views

When i use 'v-repeat' i can see the 'post.letter', however it looks like i also need to loop trough the posts array in the same 'v-repeat' ? When i try 'post.posts.title' i get nothing, when i do '...
303K's user avatar
  • 135
43 votes
3 answers
72k views

I'm trying to populate a Vue with data from the JsonResult of an AJAX query. My Vue receives the data just fine when I encode it from my View Model, but not when I try to retrieve it using AJAX. Here'...
muttley91's user avatar
  • 12.8k
3 votes
2 answers
7k views

I'm giving Vue.js a try and so far I'm loving it because it's much simpler than angular. I'm currently using vue-router and vue-resource in my single page app, which connects to an API on the back end....
JasonJensenDev's user avatar
1 vote
1 answer
748 views

So I have my markup looking like this: <slider> <img src="{{ gallery_image('HM722_Silver_Creek_9978.jpg', 'full') }}" alt="HM722 Silver Creek" style="margin-top:-15%;" /> <img ...
HaleyBuggs's user avatar
0 votes
1 answer
2k views

I have an object which is a collection of data. on each item there is - name - date_created - price I can get the orderBy in Vue.js to work for name and date_created but it doesnt seem to work for ...
mbklnd's user avatar
  • 131
1 vote
1 answer
4k views

I am using v-on in a js template (used later in a component) to fire a click event: v-on='click : favoritesToggle(venue.slug, $event)' however when I clik it I get Uncaught TypeError: scope....
rmagnum2002's user avatar
  • 11.4k
0 votes
1 answer
2k views

I have a textarea that is bound to a v-model. Upon pressing enter, I submit the textarea value and clear the model value. The problem is that after that submit function runs, I'm left with the ...
david's user avatar
  • 43
0 votes
1 answer
2k views

I'm in trouble with vue-router :) I create a simple map for router : module.exports = { '/': { component: require('./views/home') }, '/auth/login': { component: require('./views/auth/...
Kamuran Sönecek's user avatar
3 votes
2 answers
66k views

I am just playing around with vuejs router and try to load a component. I used the sample code and changed foo // Define some components var Foo = Vue.extend({ template: require('./components/...
bobbybackblech's user avatar
2 votes
1 answer
6k views

I'm adapting the select2 example here http://vuejs.org/examples/select2.html for my project and I need to send some arguments to directive like multiple:true/false etc. This params are going to be ...
David Marko's user avatar
  • 2,529
0 votes
2 answers
2k views

I have a list that I want to filter by an id value: <li v-repeat="release.tracks | filterBy track_format in 'format_id'"> This works pretty nicely unless format_id is, e.g., 12, at which point ...
thesunneversets's user avatar
1 vote
1 answer
1k views

I would like to use Vue's dynamic components (http://vuejs.org/guide/components.html#Dynamic_Components) for components that are defined in a child object instead of the parent object. For example: ...
MattyRad's user avatar
  • 183
425 votes
25 answers
764k views

Just a quick question. Can you force Vue.js to reload/recalculate everything? If so, how?
Dave's user avatar
  • 12.5k
4 votes
3 answers
12k views

Hi I'm having problem in returning a data in my ajax call using vue js in laravel 5. I have an array of state and call the function of ajax inside the loop. The problem now is it seems that the ajax ...
user3814670's user avatar
2 votes
3 answers
5k views

I am trying to assign a css class to a span element, whenver it push the EDIT button. This is my working example in jsfiddle: http://jsfiddle.net/r3nepL7u/ BUT it only works, because I check if ...
LoveAndHappiness's user avatar
1 vote
3 answers
1k views

https://github.com/vuejs/vue-resource I want to add a global setup to Vue.http Like this $.ajaxSetup({ complete: function(xhr, status) { if (xhr.status == '401') { ...
Su Cheung's user avatar
  • 175
1 vote
1 answer
384 views

Basically, when I load my homepage, vue.js requests an api, that returns a json response like so [ { "time": 321 }, { "time": 2712 } ] When the request is finished loading, I assign ...
Jazerix's user avatar
  • 4,828
3 votes
1 answer
7k views

So, in my Vue instance, I have a currentTask model, which is null by default. new Vue({ el: '...', data: { currentTask: null } }); When I click on a 'task-item', which has v-on="...
Pedro Moreira's user avatar
5 votes
1 answer
2k views

I am trying to watch a variable within an array that is bound to a repeating element using v-repeat but it doesnt seem to be working. There is a fiddle here My HTML looks something like this <...
Cookstaar's user avatar
  • 149