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

I am very new to Vue. I have a text input which I am cloning using jquery. However v-model does not take the input from the cloned inputs. It takes input only from the first input. $(document).ready(...
Sanjoy's user avatar
  • 135
2 votes
1 answer
6k views

I am using VueJS with a PHP application. I have multiple posts with comments for each of them. Each of them has a class answer_comment. I am trying to make VueJS work for all of them (it currently ...
Homo Sapien's user avatar
2 votes
1 answer
6k views

I display a list by using the v-repeat directive. http://jsfiddle.net/ftc9ev7p/1/ Please notice the dynamically created argument of the v-el directive, which is made of v-el="inputField{{task.id}}"...
LoveAndHappiness's user avatar
0 votes
2 answers
2k views

I am trying to make a DELETE Request to my Laravel API. I have a todo-App and a tasks.js with a removeTask Method that gets the task object passed as an argument. removeTask: function(task) { ...
LoveAndHappiness's user avatar
2 votes
2 answers
10k views

I'm trying to extract some projects from the Asana api with vue-resource (https://github.com/vuejs/vue-resource), a Vue.js add-on that makes ajax calls simple. I'm using an api key to access Asana, ...
Dippner's user avatar
  • 140
36 votes
4 answers
58k views

I faced a problem, I solve it by cookies but I want to solve the problem without cookies. I have a component which called app-header and It has another component which called outmodal. Now, My first ...
Kamuran Sönecek's user avatar
1 vote
4 answers
3k views

I have a small todo app here: http://jsfiddle.net/ccLm46sn/ Two arrays, one contains completed tasks, the other archived tasks. Whenever I execute the function archiveCompleted I want all completed ...
LoveAndHappiness's user avatar
7 votes
1 answer
10k views

I'm currently trying to wrap my head around how to extend a vuejs instance. Specifically I want to separate an instance, so that I can reuse the base of an instance (the element and the data). I ...
Sebastian's user avatar
  • 289
2 votes
3 answers
2k views

I would like to repeat adding table rows using a template tag with vue.js, but it doesn't work in IE11. Here is the code. <table border="1"> <tr> <td rowspan="2">ID</td> ...
Will's user avatar
  • 53
19 votes
3 answers
49k views

I'm really stuck on how I would work with submitting a form that makes an ajax request using Vue.js and vue-resource then using the response to fill a div. I do this from project to project with js/...
haakym's user avatar
  • 12.4k
0 votes
2 answers
3k views

I am trying to get started with this: https://github.com/vuejs/vue-router I have cloned the package, and followed the instructions to build: npm install npm run build But I am receiving a "Require ...
noland's user avatar
  • 125
8 votes
4 answers
8k views

I have a table that fetches some JSON from a Laravel API to populate the rows. I am using VueJS and the v-repeat: <tbody> <tr v-repeat="entry: entries"> <td>@{{ entry.id }} &...
LoveAndHappiness's user avatar
2 votes
2 answers
3k views

I am trying to reference a v-model in one of my html files. I've gone ahead and created a jsbin with a small example of what I'm trying to achieve: https://jsbin.com/saqirekasa/edit?html,js,output ...
boisterouslobster's user avatar
3 votes
1 answer
1k views

I'm using a filter returning plain HTML in vuejs. And in this HTML there is a v-on tag. How can I make vuejs to parse again HTML to detect new content/events listeners/ etc. ? Thanks
Extaze's user avatar
  • 1,207
0 votes
1 answer
2k views

Ran into a bit of a problem with combining Laravel and Vue.js to populate a table. Essentially, I was trying to use the v-repeat property in combination with a http:get request using the vue-...
boisterouslobster's user avatar
67 votes
11 answers
49k views

I'm doing a program using Slim 2 that uses Twig as my templating engine. so It uses the syntax {{ foo }} in php file. On the other hand, I'm using vue.js, it also uses {{ bar }}. E.g. I'm gonna do ...
Brian Coolidge's user avatar
0 votes
1 answer
770 views

Currently the onClick method is toggling open class, showing 3 dropdown at one time. I want to open the dropdown for the selected option, 1 dropdown at a time. methods: { onClick: function(...
baker's user avatar
  • 73
1 vote
1 answer
601 views

I'm making a simple search engine for my Laravel 5 app. As it's only small, I'm just using a FULLTEXT index on my main table. I'm trying to use Vue.js to avoid a page reload. In my SearchController I ...
user4676723's user avatar
0 votes
1 answer
264 views

I wanted to apply a filter on an object given to v-repeat to get only some components. However, I can't find a way to apply it before its conversion into an array of { $key: '...', $value: '...' }. ...
Jerska's user avatar
  • 12.1k
3 votes
1 answer
1k views

Suppose I have a custom directive that fetches an array result from certain location , How could I possibly use v-repeat alongside my directive internally rather than separately calling v-repeat ...
Jibin Mathew's user avatar
  • 5,126
15 votes
4 answers
24k views

I am trying to copy one array to another and use this like the new array without any changes to old one: <div id="app"> <div class="form-group"> <label>Test input</...
Vaidas's user avatar
  • 153
1 vote
1 answer
229 views

I'm making a simple shopping cart system using Laravel 5 and Vue.js. The user clicks the add to basket button and Vue sends an AJAX request to the cart controller. That part works fine. The ...
user4676723's user avatar
21 votes
4 answers
64k views

How can I pass selected value to a vuejs function? v-model won't help I guess. I need to set values for the filter after item: items | orderBy sortKey reverse where reverse and sortKey are dynamic ...
rmagnum2002's user avatar
  • 11.4k
1 vote
1 answer
8k views

This is my object var users ={ twitter : { name : //, lastname : // }, facebook : { name : //, lastname : // } } } I have a dynamic variable activeuser that updates from ...
Nch's user avatar
  • 75
0 votes
2 answers
1k views

Ok so firstly I'm grabbing the json object from the DB which is in this format... { "position": "slider", "size": "large", "type": "slider", "params":[{ "id": "10", "...
Tom's user avatar
  • 117