Hello,
In this video we will fetch data from database and display it using laravel and vue js
First, create student model with migration
1) php artisan make:model Student -m
after it add fields in migration file and then migrate table
then create seeder of student table to insert default data
Our Student table is ready now
------------
now to load data we make Student Controller
--- php artisan make:controller StudentController -r
We then create index named view file and then we install vue js and axios
to make requests and fetch data from controller.
Install Vue: https://vuejs.org/v2/guide/installati...
Install axios: https://www.npmjs.com/package/axios