The World’s Largest Online Community for Developers

'; vue.js - Go back button for pagination Vue and Laravel - LavOzs.Com

I want to create a go back button, but the problem is that my back button send me to first page, because I don't have the page number in url. I want to avoid this, if possible. Any suggestion?

<b-button @click="$router.go(-1)">  BACK </b-button>
//This works, but not for pagination
Laravel Multiple Pagination in one page
Laravel 4 Pagination Buttons Not Working (Querying entire DB)
Back Button issue in Laravel
Saving state on back button press in vue-electron
maintain ajax pagination upon clicking back button in Laravel 5.3 application
Browser Back Button Laravel
How can I go back/route-back on vue-router?
Angular 5 custom pagination with Laravel 5
Custom Laravel pagination links are not working