Laravel creates a Vue admin panel from scratch — Part 2
In this part, we going to add the permission CRUD list page. We can add a seeder for user, role, and permissions before creating the list page.
- Create a model
- Create a seeder and Re-migrate
- Grant Super-Admin access
- Add routes
- Create a controller
- Create Index view
- Add pagination component
- Add a flash message
- Add permission menu
1. Create a model
We already created a Blade template-based admin panel and this code already available on Github https://github.com/balajidharma/basic-laravel-admin-panel
So we going to copy most of the code from this admin panel. So, copy all the models from here
2. Create a seeder and Re-migrate
Now, copy this seeder to our database/seeders folder.
.
.
.
.
Read full story on medium.com
Previous part - Part 1: Installation and Authentication
Next part - Part 3: Create Laravel CRUD create and update pages using Inertia and Vue
Top comments (0)