Notice: for the js code, just look into welcome.blade.php and the data format locates in routes.php
git clone https://github.com/JellyBool/laravel-vue-pagination.git
cd laravel-vue-pagination
composer install
edit your .env file and setup database for laravel
in your project root (laravel-vue-pagination/
):
php artisan migrate
php artisan tinker
then
factory(App\Post::class,35)->create()
run a local serve and see the demo :
php artisan serve
visit localhost:8000 and you are good to go