Want to access all of our courses? (36 h 00 min)
You also get:
Already a member? Login here
Pagination links have gone...
Index.vue, line 121:
<Pagination :data="posts" @pagination-change-page="page => getPosts(page, selectedCategory)" />
There is no selectedCategory anymore.
Yeah, good catch, it should be search_category instead now.
search_category
Hello, what about use https://datatables.net/ in vue as a server-side, I used it but in jquey blade or js file.. in vue How??
For vue, there are specific packages, a lot of them, google "vue datatables"
yes I know but think not server side..thanks for reply
DRY
const filters = [ 'category', 'id', 'title', 'content', 'global'] filters.forEach(filter => { watch(eval(`search_${filter}`), (current, previous) => { getPosts( 1, search_category.value, search_id.value, search_title.value, search_content.value, search_global.value, orderColumn.value, orderDirection.value ) })})
I don't remember if I commented on it in a fresher course
Tell us what you like or what we can improve
Feel free to share anything you like or dislike about this page or the platform in general.
Your feedback has been received. We truly appreciate you taking the time to help us improve.
Pagination links have gone...
Index.vue, line 121:
<Pagination :data="posts" @pagination-change-page="page => getPosts(page, selectedCategory)" />
There is no selectedCategory anymore.
Yeah, good catch, it should be
search_categoryinstead now.Hello, what about use https://datatables.net/ in vue as a server-side, I used it but in jquey blade or js file.. in vue How??
For vue, there are specific packages, a lot of them, google "vue datatables"
yes I know but think not server side..thanks for reply
DRY
I don't remember if I commented on it in a fresher course