Laravel 9 Tutorial Complete Playlist:- https://www.youtube.com/playlist?list=PLLUtELdNs2ZYTlQ97V1Tl8mirS3qXHNFZ In Part-31 of the https://youtu.be/T0Xm6Xm_Dvw create a Multi-Vendor E-commerce Website in Laravel, we will continue working on the Categories module. In this video, we will display categories in the admin panel and will also work on enable/disable functionality and will show categories in datatable. Create GET route in web.php file in admin middleware group prefixed with admin and having namespace Admin for displaying categories in admin panel:-
Now create categories function in CategoryController to write query to display all the categories in admin panel and return to categories blade file that we will create under /resources/views/admin/categories/ folder.