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

Alright, so I am trying to create a ChartJS instance via VueJS so that I could easily update its data via AJAX requests inside the component. Basically it is working, the ChartJS instance gets ...
SpoonGuy's user avatar
2 votes
1 answer
2k views

There is a vuejs component called my-comp with a given data that I want to iterate on its elements and print them: <my-comp json-data='[{"id":1,"text":"Hello"},{"id":2,"text":"World"}]' inline-...
Hossein Jazayeri's user avatar
0 votes
1 answer
92 views

So I basicly have 2 scripts. A user script that handles the user login, check ect. And a script that handle actions on a page. Now I want to be able to show a button controlled by the page script, but ...
Ashley Wrench's user avatar
5 votes
1 answer
6k views

I love the simplicity of Vue.js, but I don't want to complexify it with browserify or webpack. I prefer something like templateUrl in Angular, so I can serve the partial page(usually a component) with ...
Kane Blueriver's user avatar
3 votes
1 answer
7k views

If I ever want to sort a table with Vue.js, should I always get the data to be sorted received in an ajax request ? for the v-repeat to work? or which would be the way to make it with data coming from ...
FerchoCarcho's user avatar
26 votes
1 answer
23k views

I want to call router.go inside a component currently i have set window.router = router // so the code works index.js const App = Vue.extend(require('./views/app.vue')) router.start(App, '#app') ...
Anish Dcruz's user avatar
3 votes
1 answer
1k views

I am currently rendering a pagination with vuejs. This is for my algolia data. I am checking if a user pressed on a previous button/next button or on a direct input(1,2,3, etc.) setPage: ...
Stephan-v's user avatar
  • 20.5k
2 votes
2 answers
4k views

I am trying to link between VueJS components using vue-router's v-link. When a link is clicked, the URL is updated, but the view data does not update unless the page is manually refreshed. Some ...
darinreid's user avatar
1 vote
2 answers
3k views

I'm having Uncaught TypeError: this.fetchReports is not a function error when the function this.fetchReports is called it seems that I have access to this function from swal object, how can I make ...
Hustels's user avatar
  • 67
0 votes
1 answer
523 views

I have an html table of data and each item in a row has a list_position field which can be changed and then all of the items will be reordered to match the change on that item. If I have a long list ...
ryanwinchester's user avatar
4 votes
5 answers
9k views

I'm trying to build a custom directive for Bootstrap that makes a <select> input into a "selectpicker" from Bootstrap selectpicker Also I would like this directive to use the default options ...
RGweb's user avatar
  • 109
-1 votes
2 answers
590 views

I have a custom filter called removeIndex which removes the first index of an array. I want to modify that so it first sorts the array, and then removes the first index. However, when I try to do ...
Drew's user avatar
  • 6,912
0 votes
1 answer
1k views

I want to use the if-directive in vue.js to determine which datafield should be shown in each table row: <tr v-repeat="model"> <td>@{{ title }}</td> <td>@{{ ...
bflydesign's user avatar
2 votes
1 answer
2k views

I'm trying to get Vue.js with the vue-router working. In my example I'd like to add a subroute/nested route to a view/template, but I get an "invalid expresion" error. Here is the jsFiddle example: ...
Dieter Frei's user avatar
11 votes
3 answers
17k views

Im trying to implement Vue.js + jQuery's DataTables but there's a weird things happening. Check this fiddle on firefox (not working on chrome): http://jsfiddle.net/chrislandeza/xgv8c01y/ when I ...
Chris Landeza's user avatar
17 votes
4 answers
15k views

In Vue, I have to filter through some data: <input v-model="search"> <ul> <li v-repeat="photo in photos | filterBy search in 'name'"> <img src="{{ photo.src }}" alt="{...
Andrew Willis's user avatar
1 vote
2 answers
2k views

Functionality allows you to add/delete description, title and time for the event. I can not deal with the duplication(cloning) of the object which is created through v-model = (event.name, event....
Kirill Monocle's user avatar
0 votes
1 answer
529 views

When I study the feature of Vue.js's component system. I feel confused when and where should we use this? In Vue.js's doc they said Vue.js allows you to treat extended Vue subclasses as reusable ...
xuanyue's user avatar
  • 1,438
1 vote
4 answers
4k views

This is the markup for the checkbox using material-design-lite: <label class="mdl-checkbox mdl-js-checkbox mdl-js-ripple-effect" for="checkbox"> <input type="checkbox" id="checkbox" class="...
LoveAndHappiness's user avatar
0 votes
1 answer
301 views

I have tried creating a like button for comments using Vue.js. However, the like button only seems to work on one comment (first) while the second comment appears as if it doesn't even recognize Vue....
Chris Burton's user avatar
  • 1,205
2 votes
1 answer
11k views

I am using VueJS with vue-validator and I have been struggling for hours to do simple conditional validation. The example provided in the documentation does not seem to work, at least not in my case. ...
NightMICU's user avatar
  • 9,280
1 vote
2 answers
4k views

I'm working on a project that is using Vue.js and Vue Router as the frontend javascript framework that will need to use a select box of users many places throughout the app. I would like to use ...
JasonJensenDev's user avatar
18 votes
5 answers
32k views

I'm building an app with laravel and VueJs and I was wondering how to pass a url parameter like the user slug or the user id to vuejs in a proper way to be able to use that parameter for making ajax ...
Luuk Van Dongen's user avatar
1 vote
1 answer
277 views

I just found the v-el directive in Vue.js which is a great convenience for DOM-manipulation. F.ex. I could mark an element with it: <button v-el="getCustomerButton">Get customers</button>...
skovmand's user avatar
  • 4,452
5 votes
3 answers
4k views

Ok, so unfortunately I have come across this issue. So first a little about specs of my app. I am using Vue.js vue-resource.js jQuery jQuery DataTables Now because I'm grabbing the data through vue-...
Ashley Wrench's user avatar