DEV Community

Balaji Dharma
Balaji Dharma

Posted on • Originally published at blog.devgenius.io on

Create Laravel CRUD using Inertia and Vue 3 - list page with search and pagination

Laravel creates a Vue admin panel from scratch — Part 2

image

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.

  1. Create a model
  2. Create a seeder and Re-migrate
  3. Grant Super-Admin access
  4. Add routes
  5. Create a controller
  6. Create Index view
  7. Add pagination component
  8. Add a flash message
  9. 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)